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 /tests | |
parent | 2b94d7fc7fa93ecfd5ab6ddaa0c7bf4d2224d2be (diff) | |
download | go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.gz go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.bz2 go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.lz go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.xz go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.zst go-tangerine-00787fe7818b7baaa95ef7928b5101df2d052dce.zip |
core: added CheckNonce() to Message interface
Diffstat (limited to 'tests')
-rw-r--r-- | tests/util.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/util.go b/tests/util.go index abc67769d..877e1acdb 100644 --- a/tests/util.go +++ b/tests/util.go @@ -312,4 +312,5 @@ func (self Message) GasPrice() *big.Int { return self.price } func (self Message) Gas() *big.Int { return self.gas } func (self Message) Value() *big.Int { return self.value } func (self Message) Nonce() uint64 { return self.nonce } +func (self Message) CheckNonce() bool { return true } func (self Message) Data() []byte { return self.data } |