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

@ -77,7 +77,7 @@ func main() {
var block *types.Block
if len(DumpHash) == 0 && DumpNumber == -1 {
block = ethereum.ChainManager().CurrentBlock
block = ethereum.ChainManager().CurrentBlock()
} else if len(DumpHash) > 0 {
block = ethereum.ChainManager().GetBlock(ethutil.Hex2Bytes(DumpHash))
} else {