aboutsummaryrefslogtreecommitdiffstats
path: root/eth/api.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-03-24 23:35:42 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-03-24 23:35:42 +0800
commitcfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b (patch)
treeaa6d4c875884f20fc96f055f99f867f779500980 /eth/api.go
parent75c86f8646ed6a21116d6c5f5e400dd966bb218d (diff)
parent73308dbe0e08db015a7c461b5be1755dc3fcc737 (diff)
downloadgo-tangerine-cfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b.tar
go-tangerine-cfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b.tar.gz
go-tangerine-cfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b.tar.bz2
go-tangerine-cfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b.tar.lz
go-tangerine-cfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b.tar.xz
go-tangerine-cfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b.tar.zst
go-tangerine-cfb3a8ea8f98ef5a31d9e4a84a66eb5857461a7b.zip
Merge pull request #2357 from karalabe/abi-binding-generator
accounts/abi/bind: Go ABI binding generator
Diffstat (limited to 'eth/api.go')
-rw-r--r--eth/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/api.go b/eth/api.go
index 347047332..c4b3a65c0 100644
--- a/eth/api.go
+++ b/eth/api.go
@@ -689,7 +689,7 @@ func (s *PublicBlockChainAPI) Call(args CallArgs, blockNr rpc.BlockNumber) (stri
// EstimateGas returns an estimate of the amount of gas needed to execute the given transaction.
func (s *PublicBlockChainAPI) EstimateGas(args CallArgs) (*rpc.HexNumber, error) {
- _, gas, err := s.doCall(args, rpc.LatestBlockNumber)
+ _, gas, err := s.doCall(args, rpc.PendingBlockNumber)
return rpc.NewHexNumber(gas), err
}