aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/hexface.go
diff options
context:
space:
mode:
Diffstat (limited to 'xeth/hexface.go')
-rw-r--r--xeth/hexface.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/hexface.go b/xeth/hexface.go
index 5c8e7a3c7..21e82e37d 100644
--- a/xeth/hexface.go
+++ b/xeth/hexface.go
@@ -224,10 +224,10 @@ func (self *JSXEth) Transact(key, toStr, valueStr, gasStr, gasPriceStr, codeStr
tx = chain.NewTransactionMessage(hash, value, gas, gasPrice, data)
}
- acc := self.obj.StateManager().TransState().GetOrNewStateObject(keyPair.Address())
+ acc := self.obj.BlockManager().TransState().GetOrNewStateObject(keyPair.Address())
tx.Nonce = acc.Nonce
acc.Nonce += 1
- self.obj.StateManager().TransState().UpdateStateObject(acc)
+ self.obj.BlockManager().TransState().UpdateStateObject(acc)
tx.Sign(keyPair.PrivateKey)
self.obj.TxPool().QueueTransaction(tx)