From 00787fe7818b7baaa95ef7928b5101df2d052dce Mon Sep 17 00:00:00 2001 From: zsfelfoldi Date: Mon, 11 Jul 2016 11:58:10 +0200 Subject: core: added CheckNonce() to Message interface --- accounts/abi/bind/backends/simulated.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'accounts/abi') 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 } -- cgit