aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-21 21:51:45 +0800
committerobscuren <geffobscura@gmail.com>2015-03-21 21:51:45 +0800
commitce862ee7589a0780cebc8a7bb1cf6a75193d55a0 (patch)
treeeeca42a9b105964c6229fd38e6f0616e49a39c25 /xeth
parent4300f2a0fae793ff73ea861dfe3f90ce97f5af40 (diff)
downloadgo-tangerine-ce862ee7589a0780cebc8a7bb1cf6a75193d55a0.tar.gz
go-tangerine-ce862ee7589a0780cebc8a7bb1cf6a75193d55a0.tar.zst
go-tangerine-ce862ee7589a0780cebc8a7bb1cf6a75193d55a0.zip
Removed some comments
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go3
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)