diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-09 05:30:07 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-09 05:30:07 +0800 |
commit | 204ac81188e43900835c6aa5bad6b3e48f3a16d0 (patch) | |
tree | 80b54ac93a0d42ffe595b852fa6c565d3f0d088e /eth | |
parent | 6e2f78ebdd4c8d0d150327400a16d67cb65fc482 (diff) | |
download | go-tangerine-204ac81188e43900835c6aa5bad6b3e48f3a16d0.tar.gz go-tangerine-204ac81188e43900835c6aa5bad6b3e48f3a16d0.tar.zst go-tangerine-204ac81188e43900835c6aa5bad6b3e48f3a16d0.zip |
Moved handling of nonces to the managed state
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index 327a5c7f8..c7a5b233f 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -449,7 +449,7 @@ func (self *Ethereum) syncAccounts(tx *types.Transaction) { if self.accountManager.HasAccount(from.Bytes()) { if self.chainManager.TxState().GetNonce(from) < tx.Nonce() { - self.chainManager.TxState().SetNonce(from, tx.Nonce()+1) + self.chainManager.TxState().SetNonce(from, tx.Nonce()) } } } |