diff options
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 2c324be26..9f183aa61 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -611,7 +611,7 @@ func (self *XEth) Transact(fromStr, toStr, valueStr, gasStr, gasPriceStr, codeSt } state := self.chainManager.TxState() - nonce := state.NewNonce(from) //state.GetNonce(from) + nonce := state.NewNonce(from) tx.SetNonce(nonce) if err := self.sign(tx, from, false); err != nil { @@ -620,7 +620,6 @@ func (self *XEth) Transact(fromStr, toStr, valueStr, gasStr, gasPriceStr, codeSt if err := self.eth.TxPool().Add(tx); err != nil { return "", err } - //state.IncrementNonce(from) if contractCreation { addr := core.AddressFromMessage(tx) |