aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind/backends/nil.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-05-20 21:13:29 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-05-20 21:13:29 +0800
commit847aaffbb8748e6b4d5cff106c809ace35bbc815 (patch)
treea32f6725a16fef663b2e222c00f873e5164fe9dc /accounts/abi/bind/backends/nil.go
parenta8472e0fdbb4ac157671ba3bcc79001674d582d2 (diff)
parent1580ec180414bce1e37acc614bc2445f778efb75 (diff)
downloaddexon-847aaffbb8748e6b4d5cff106c809ace35bbc815.tar
dexon-847aaffbb8748e6b4d5cff106c809ace35bbc815.tar.gz
dexon-847aaffbb8748e6b4d5cff106c809ace35bbc815.tar.bz2
dexon-847aaffbb8748e6b4d5cff106c809ace35bbc815.tar.lz
dexon-847aaffbb8748e6b4d5cff106c809ace35bbc815.tar.xz
dexon-847aaffbb8748e6b4d5cff106c809ace35bbc815.tar.zst
dexon-847aaffbb8748e6b4d5cff106c809ace35bbc815.zip
Merge pull request #2589 from karalabe/estimate-remove-codecheck
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") }