aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind/backends/nil.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-05-20 17:29:28 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-05-20 17:29:28 +0800
commit1580ec180414bce1e37acc614bc2445f778efb75 (patch)
tree7c8276f3f1558b5ce62edd0bff87745956084a4c /accounts/abi/bind/backends/nil.go
parente798e4fd750745cec99c5a531e42998d9a7be85e (diff)
downloaddexon-1580ec180414bce1e37acc614bc2445f778efb75.tar.gz
dexon-1580ec180414bce1e37acc614bc2445f778efb75.tar.zst
dexon-1580ec180414bce1e37acc614bc2445f778efb75.zip
accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call
Diffstat (limited to 'accounts/abi/bind/backends/nil.go')
-rw-r--r--accounts/abi/bind/backends/nil.go1
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") }