aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal')
-rw-r--r--ethereal/ui/library.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereal/ui/library.go b/ethereal/ui/library.go
index 7a8939bf1..9a7469426 100644
--- a/ethereal/ui/library.go
+++ b/ethereal/ui/library.go
@@ -45,7 +45,9 @@ func (lib *EthLib) CreateTx(recipient, valueStr, gasStr, gasPriceStr, data strin
} else {
tx = ethchain.NewTransactionMessage(hash, value, gasPrice, gas, []string{})
}
- tx.Nonce = lib.stateManager.GetAddrState(keyPair.Address()).Nonce
+ acc := lib.stateManager.GetAddrState(keyPair.Address())
+ tx.Nonce = acc.Nonce
+ //acc.Nonce++
tx.Sign(keyPair.PrivateKey)
lib.txPool.QueueTransaction(tx)