diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-11 03:26:55 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-11 03:26:55 +0800 |
commit | 2b5fcb464262a7bdd766861b513b2a23706f8b13 (patch) | |
tree | 63f23ea941e664d3b4342c6394794c378dc2adab /core/chain_manager.go | |
parent | 5553e5aaed5c3f4e303b7d6671d2c92a45aa487e (diff) | |
download | dexon-2b5fcb464262a7bdd766861b513b2a23706f8b13.tar dexon-2b5fcb464262a7bdd766861b513b2a23706f8b13.tar.gz dexon-2b5fcb464262a7bdd766861b513b2a23706f8b13.tar.bz2 dexon-2b5fcb464262a7bdd766861b513b2a23706f8b13.tar.lz dexon-2b5fcb464262a7bdd766861b513b2a23706f8b13.tar.xz dexon-2b5fcb464262a7bdd766861b513b2a23706f8b13.tar.zst dexon-2b5fcb464262a7bdd766861b513b2a23706f8b13.zip |
moved interfaces
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r-- | core/chain_manager.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go index 0322edaa5..edf50e715 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -288,6 +288,8 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error { self.SetTotalDifficulty(td) self.insert(block) + self.transState = self.State().Copy() + //sm.eth.TxPool().RemoveSet(block.Transactions()) } self.eventMux.Post(NewBlockEvent{block}) |