core: added CheckNonce() to Message interface

This commit is contained in:
zsfelfoldi
2016-07-11 11:58:10 +02:00
parent 2b94d7fc7f
commit 00787fe781
7 changed files with 17 additions and 8 deletions

View File

@ -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