Removed nonce incrementing

This commit is contained in:
obscuren 2014-05-19 12:14:32 +02:00
parent 770808ce0d
commit 43f88b2bbb

@ -210,8 +210,10 @@ func (gui *Gui) update() {
gui.win.Root().Call("addTx", ethpub.NewPTx(tx)) gui.win.Root().Call("addTx", ethpub.NewPTx(tx))
gui.txDb.Put(tx.Hash(), tx.RlpEncode()) gui.txDb.Put(tx.Hash(), tx.RlpEncode())
/*
object.Nonce += 1 object.Nonce += 1
state.SetStateObject(object) state.SetStateObject(object)
*/
unconfirmedFunds.Sub(unconfirmedFunds, tx.Value) unconfirmedFunds.Sub(unconfirmedFunds, tx.Value)
} else if bytes.Compare(tx.Recipient, gui.addr) == 0 { } else if bytes.Compare(tx.Recipient, gui.addr) == 0 {