diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2016-07-11 17:58:10 +0800 |
---|---|---|
committer | zsfelfoldi <zsfelfoldi@gmail.com> | 2016-07-11 18:35:23 +0800 |
commit | 00787fe7818b7baaa95ef7928b5101df2d052dce (patch) | |
tree | ac4322a7634a9981815098cc91440d6a9156f329 /accounts | |
parent | 2b94d7fc7fa93ecfd5ab6ddaa0c7bf4d2224d2be (diff) | |
download | go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.gz go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.zst go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.zip |
core: added CheckNonce() to Message interface
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/abi/bind/backends/simulated.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go index 490da82a6..9bce3f988 100644 --- a/accounts/abi/bind/backends/simulated.go +++ b/accounts/abi/bind/backends/simulated.go @@ -203,7 +203,8 @@ type callmsg struct { func (m callmsg) From() (common.Address, error) { return m.from.Address(), nil } func (m callmsg) FromFrontier() (common.Address, error) { return m.from.Address(), nil } -func (m callmsg) Nonce() uint64 { return m.from.Nonce() } +func (m callmsg) Nonce() uint64 { return 0 } +func (m callmsg) CheckNonce() bool { return false } func (m callmsg) To() *common.Address { return m.to } func (m callmsg) GasPrice() *big.Int { return m.gasPrice } func (m callmsg) Gas() *big.Int { return m.gasLimit } |