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 /xeth/hexface.go | |
parent | 49e0267fe76cfd13eaf3e5e26caa637b93dbdd29 (diff) | |
download | dexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar.gz dexon-2d09e67713757e2a80eb614562c97f962af36cf7.tar.zst dexon-2d09e67713757e2a80eb614562c97f962af36cf7.zip |
Updated to new methods
Diffstat (limited to 'xeth/hexface.go')
-rw-r--r-- | xeth/hexface.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/hexface.go b/xeth/hexface.go index c1f49453d..75ec5f43d 100644 --- a/xeth/hexface.go +++ b/xeth/hexface.go @@ -29,7 +29,7 @@ func (self *JSXEth) BlockByHash(strHash string) *JSBlock { func (self *JSXEth) BlockByNumber(num int32) *JSBlock { if num == -1 { - return NewJSBlock(self.obj.ChainManager().CurrentBlock) + return NewJSBlock(self.obj.ChainManager().CurrentBlock()) } return NewJSBlock(self.obj.ChainManager().GetBlockByNumber(uint64(num))) |