diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-03-16 18:48:33 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-03-24 20:15:18 +0800 |
commit | 72826bb5adddedf0fd4fb9903e883d4c64fa18a6 (patch) | |
tree | 9e20f17956a3d0ac5ecf2e64db80dedef0196d45 /eth | |
parent | 75c86f8646ed6a21116d6c5f5e400dd966bb218d (diff) | |
download | dexon-72826bb5adddedf0fd4fb9903e883d4c64fa18a6.tar.gz dexon-72826bb5adddedf0fd4fb9903e883d4c64fa18a6.tar.zst dexon-72826bb5adddedf0fd4fb9903e883d4c64fa18a6.zip |
accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI
Diffstat (limited to 'eth')
-rw-r--r-- | eth/api.go | 2 |
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 } |