diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-05-20 17:29:28 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-05-24 15:33:15 +0800 |
commit | 1776c717bfb540f95e1b2233f35ea6f4cc8f57d5 (patch) | |
tree | 5926f97eb049e55d7aeb8cb338bf1b9f0892d008 /accounts/abi/bind/backends/nil.go | |
parent | 0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc (diff) | |
download | go-tangerine-1776c717bfb540f95e1b2233f35ea6f4cc8f57d5.tar go-tangerine-1776c717bfb540f95e1b2233f35ea6f4cc8f57d5.tar.gz go-tangerine-1776c717bfb540f95e1b2233f35ea6f4cc8f57d5.tar.bz2 go-tangerine-1776c717bfb540f95e1b2233f35ea6f4cc8f57d5.tar.lz go-tangerine-1776c717bfb540f95e1b2233f35ea6f4cc8f57d5.tar.xz go-tangerine-1776c717bfb540f95e1b2233f35ea6f4cc8f57d5.tar.zst go-tangerine-1776c717bfb540f95e1b2233f35ea6f4cc8f57d5.zip |
[release 1.4.5] accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call
(cherry picked from commit 1580ec180414bce1e37acc614bc2445f778efb75)
Diffstat (limited to 'accounts/abi/bind/backends/nil.go')
-rw-r--r-- | accounts/abi/bind/backends/nil.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accounts/abi/bind/backends/nil.go b/accounts/abi/bind/backends/nil.go index 3b1e6dce7..f10bb61ac 100644 --- a/accounts/abi/bind/backends/nil.go +++ b/accounts/abi/bind/backends/nil.go @@ -38,6 +38,7 @@ func (*nilBackend) ContractCall(common.Address, []byte, bool) ([]byte, error) { func (*nilBackend) EstimateGasLimit(common.Address, *common.Address, *big.Int, []byte) (*big.Int, error) { panic("not implemented") } +func (*nilBackend) HasCode(common.Address, bool) (bool, error) { panic("not implemented") } func (*nilBackend) SuggestGasPrice() (*big.Int, error) { panic("not implemented") } func (*nilBackend) PendingAccountNonce(common.Address) (uint64, error) { panic("not implemented") } func (*nilBackend) SendTransaction(*types.Transaction) error { panic("not implemented") } |