aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-09 05:30:07 +0800
committerobscuren <geffobscura@gmail.com>2015-04-09 05:30:07 +0800
commit204ac81188e43900835c6aa5bad6b3e48f3a16d0 (patch)
tree80b54ac93a0d42ffe595b852fa6c565d3f0d088e /eth
parent6e2f78ebdd4c8d0d150327400a16d67cb65fc482 (diff)
downloadgo-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.go2
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())
}
}
}
arn/devel/electron6/files/ini-1.3.8&id=fda3905c928a55db75ce67bf58053f1aa963f3be'>Update to 4.0.2.jkim2013-04-171-4/+4 * Update to 4.0.1.jkim2013-03-092-5/+5 * Update to 3.6.5.jkim2013-02-051-4/+4 * - Update to 3.5.7.jkim2012-10-272-9/+4 * - Update to 3.5.6.jkim2012-08-241-4/+4 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-4/+4 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-01