aboutsummaryrefslogtreecommitdiffstats
path: root/block_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-18 20:17:24 +0800
committerobscuren <geffobscura@gmail.com>2014-12-18 20:17:24 +0800
commit2d09e67713757e2a80eb614562c97f962af36cf7 (patch)
tree896f70825f9048ec569ad78ae77018435210b9e9 /block_pool.go
parent49e0267fe76cfd13eaf3e5e26caa637b93dbdd29 (diff)
downloaddexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar
dexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar.gz
dexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar.bz2
dexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar.lz
dexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar.xz
dexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar.zst
dexon-2d09e67713757e2a80eb614562c97f962af36cf7.zip
Updated to new methods
Diffstat (limited to 'block_pool.go')
-rw-r--r--block_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/block_pool.go b/block_pool.go
index 803927f21..c618f6993 100644
--- a/block_pool.go
+++ b/block_pool.go
@@ -66,7 +66,7 @@ func (self *BlockPool) HasLatestHash() bool {
self.mut.Lock()
defer self.mut.Unlock()
- return self.pool[string(self.eth.ChainManager().CurrentBlock.Hash())] != nil
+ return self.pool[string(self.eth.ChainManager().CurrentBlock().Hash())] != nil
}
func (self *BlockPool) HasCommonHash(hash []byte) bool {