aboutsummaryrefslogtreecommitdiffstats
path: root/ethpub/pub.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-21 07:12:39 +0800
committerobscuren <geffobscura@gmail.com>2014-05-21 07:12:39 +0800
commit734b2e4cf7a2e6ed3ab0815b795730c62e235a6b (patch)
treeb86a624e21eedc4eceb695a88a1ff3bb81e17848 /ethpub/pub.go
parent5ceb1620e93e1999c6f72e6164c7c65af63244ec (diff)
parent3c35ba7c31423da644c5fb73030af4673cff90ec (diff)
downloadgo-tangerine-734b2e4cf7a2e6ed3ab0815b795730c62e235a6b.tar
go-tangerine-734b2e4cf7a2e6ed3ab0815b795730c62e235a6b.tar.gz
go-tangerine-734b2e4cf7a2e6ed3ab0815b795730c62e235a6b.tar.bz2
go-tangerine-734b2e4cf7a2e6ed3ab0815b795730c62e235a6b.tar.lz
go-tangerine-734b2e4cf7a2e6ed3ab0815b795730c62e235a6b.tar.xz
go-tangerine-734b2e4cf7a2e6ed3ab0815b795730c62e235a6b.tar.zst
go-tangerine-734b2e4cf7a2e6ed3ab0815b795730c62e235a6b.zip
Merge branch 'hotfix/4' into develop
Diffstat (limited to 'ethpub/pub.go')
-rw-r--r--ethpub/pub.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethpub/pub.go b/ethpub/pub.go
index fb1018d47..ec187e276 100644
--- a/ethpub/pub.go
+++ b/ethpub/pub.go
@@ -162,7 +162,7 @@ func (lib *PEthereum) createTx(key, recipient, valueStr, gasStr, gasPriceStr, in
acc := lib.stateManager.TransState().GetStateObject(keyPair.Address())
tx.Nonce = acc.Nonce
acc.Nonce += 1
- lib.stateManager.TransState().SetStateObject(acc)
+ lib.stateManager.TransState().UpdateStateObject(acc)
tx.Sign(keyPair.PrivateKey)
lib.txPool.QueueTransaction(tx)