diff options
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 251b070e4..693acb910 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -236,6 +236,10 @@ func (self *XEth) CurrentBlock() *types.Block { return self.backend.ChainManager().CurrentBlock() } +func (self *XEth) GasLimit() *big.Int { + return self.backend.ChainManager().GasLimit() +} + func (self *XEth) Block(v interface{}) *Block { if n, ok := v.(int32); ok { return self.BlockByNumber(int64(n)) |