Updated to new methods

This commit is contained in:
obscuren
2014-12-18 13:17:24 +01:00
parent 49e0267fe7
commit 2d09e67713
8 changed files with 16 additions and 9 deletions

View File

@ -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 {