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 /common/registrar/ethreg | |
parent | 2b94d7fc7fa93ecfd5ab6ddaa0c7bf4d2224d2be (diff) | |
download | dexon-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.gz dexon-00787fe7818b7baaa95ef7928b5101df2d052dce.tar.zst dexon-00787fe7818b7baaa95ef7928b5101df2d052dce.zip |
core: added CheckNonce() to Message interface
Diffstat (limited to 'common/registrar/ethreg')
-rw-r--r-- | common/registrar/ethreg/api.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/registrar/ethreg/api.go b/common/registrar/ethreg/api.go index 6d77a9385..6dd0ef46f 100644 --- a/common/registrar/ethreg/api.go +++ b/common/registrar/ethreg/api.go @@ -128,7 +128,10 @@ func (m callmsg) FromFrontier() (common.Address, error) { return m.from.Address(), nil } func (m callmsg) Nonce() uint64 { - return m.from.Nonce() + return 0 +} +func (m callmsg) CheckNonce() bool { + return false } func (m callmsg) To() *common.Address { return m.to |