diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-18 20:17:24 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-18 20:17:24 +0800 |
commit | 2d09e67713757e2a80eb614562c97f962af36cf7 (patch) | |
tree | 896f70825f9048ec569ad78ae77018435210b9e9 /block_pool.go | |
parent | 49e0267fe76cfd13eaf3e5e26caa637b93dbdd29 (diff) | |
download | dexon-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.go | 2 |
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 { |