aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-18 05:20:47 +0800
committerobscuren <geffobscura@gmail.com>2015-02-18 05:20:47 +0800
commit7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048 (patch)
tree764d7ebd57cafbae0a12d046aeafd1b823a0f0bb /core
parent11e12680ebe4f4679083317ee0f2c27b219d44b3 (diff)
downloaddexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar.gz
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.tar.zst
dexon-7fc9b5b3f9ca0111cc4bc1b2a6b4bb2eccd3e048.zip
Changed to ChainEvent and fixed a nil pointer in transact
Diffstat (limited to 'core')
-rw-r--r--core/chain_manager.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 025615676..22d54be03 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -393,8 +393,6 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
}
}
self.mu.Unlock()
-
- self.eventMux.Post(NewBlockEvent{block})
}
return nil