core, xeth: moved nonce management burden from xeth to txpool

This commit is contained in:
obscuren
2015-06-09 18:14:46 +02:00
parent 93f4852844
commit bc6031e7bb
4 changed files with 44 additions and 23 deletions

View File

@ -957,7 +957,7 @@ func (self *XEth) Transact(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceS
if err := self.backend.TxPool().Add(tx); err != nil {
return "", err
}
state.SetNonce(from, nonce+1)
//state.SetNonce(from, nonce+1)
if contractCreation {
addr := core.AddressFromMessage(tx)