aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-10-21 14:47:51 -0400
committerDeterminant <[email protected]>2019-10-21 14:47:51 -0400
commit79b1169a9ff0b54ddf3b520a70a79c78ba5c988d (patch)
tree13fc62be3ebf344544547eeb9979450a3c6ecd40 /coreth.go
parent913e9439a7c7883881895ee597a0cc464fb92353 (diff)
customize Blockchain code
Diffstat (limited to 'coreth.go')
-rw-r--r--coreth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreth.go b/coreth.go
index fe9e6d6..ca2a5de 100644
--- a/coreth.go
+++ b/coreth.go
@@ -149,7 +149,7 @@ func (self *ETHChain) GetBlockByHash(hash common.Hash) *types.Block {
// SetTail sets the current head block to the one defined by the hash
// irrelevant what the chain contents were prior.
func (self *ETHChain) SetTail(hash common.Hash) error {
- return self.backend.BlockChain().FastSyncCommitHead(hash)
+ return self.backend.BlockChain().ManualHead(hash)
}
func (self *ETHChain) GetReceiptsByHash(hash common.Hash) types.Receipts {