forked from cerc-io/plugeth
Removed nonce incrementing
This commit is contained in:
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
|
/*
|
||||||
state.SetStateObject(object)
|
object.Nonce += 1
|
||||||
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user