diff options
author | Determinant <[email protected]> | 2019-08-29 14:55:28 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-08-29 14:55:28 -0400 |
commit | 8c4e5b732d9584ecf9e77a4d93a987adb333d61a (patch) | |
tree | ea84ac4cb1ed8ca1bf08525d2739776473b1666d /coreth.go | |
parent | 1c1fa76addab68e04e051df3f38cce9f3bb32d98 (diff) |
switch to ava-labs hosted geth
Diffstat (limited to 'coreth.go')
-rw-r--r-- | coreth.go | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -8,12 +8,12 @@ import ( "github.com/ava-labs/coreth/consensus/dummy" "github.com/ava-labs/coreth/eth" "github.com/ava-labs/coreth/node" - "github.com/ethereum/go-ethereum/common" - "github.com/ethereum/go-ethereum/core/state" - "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/crypto" - "github.com/ethereum/go-ethereum/event" - "github.com/ethereum/go-ethereum/log" + "github.com/ava-labs/go-ethereum/common" + "github.com/ava-labs/go-ethereum/core/state" + "github.com/ava-labs/go-ethereum/core/types" + "github.com/ava-labs/go-ethereum/crypto" + "github.com/ava-labs/go-ethereum/event" + "github.com/ava-labs/go-ethereum/log" "github.com/mattn/go-isatty" ) @@ -100,9 +100,9 @@ func (self *ETHChain) GetBlockByHash(hash common.Hash) *types.Block { return self.backend.BlockChain().GetBlockByHash(hash) } -// SetHead sets the current head block to the one defined by the hash +// SetTail sets the current head block to the one defined by the hash // irrelevant what the chain contents were prior. -func (self *ETHChain) SetHead(hash common.Hash) error { +func (self *ETHChain) SetTail(hash common.Hash) error { return self.backend.BlockChain().FastSyncCommitHead(hash) } |