aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-10 00:14:46 +0800
committerobscuren <geffobscura@gmail.com>2015-06-10 03:01:02 +0800
commitbc6031e7bb453ec7e1f229b39e11967a8b32175a (patch)
treeb5699e36abcd7bbe32e65e95eb335d677b837740 /xeth
parent93f48528441b99f2c0a89326eb60a3e1ae6f92bc (diff)
downloaddexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar
dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.gz
dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.bz2
dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.lz
dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.xz
dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.zst
dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.zip
core, xeth: moved nonce management burden from xeth to txpool
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 9b49b412c..d2f992084 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -957,7 +957,7 @@ func (self *XEth) Transact(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceS
if err := self.backend.TxPool().Add(tx); err != nil {
return "", err
}
- state.SetNonce(from, nonce+1)
+ //state.SetNonce(from, nonce+1)
if contractCreation {
addr := core.AddressFromMessage(tx)