chia-blockchain-gui icon indicating copy to clipboard operation
chia-blockchain-gui copied to clipboard

[Bug] GUI shows error, but tx was submitted

Open mariano54 opened this issue 2 years ago • 1 comments

What happened?

When submitting a transaction, the wallet submits to multiple nodes. The GUI then calls getTransaction, which will return the TX with all the results Let's say one node responded but it was an error (NO_TRANSACTIONS_WHILE_SYNCING). At this point, the GUI just displays the error. It appears the transaction failed. This caused me to retry, and i actually ended up making 2 identical transactions Suggested fix: If getTransaction returns a transaction that has some errors, show the errors, but also show: Transaction will be retried, and might succeed in the future also we can retry for several seconds in case another node responds and sets the status

Version

main

What platform are you using?

Linux

What ui mode are you using?

GUI

Relevant log output or stacktrace

No response

mariano54 avatar May 13 '22 17:05 mariano54

Any progress on this @seeden ?

mariano54 avatar May 29 '22 01:05 mariano54

Bump @seeden

mariano54 avatar Aug 26 '22 02:08 mariano54

Fixed via https://github.com/Chia-Network/chia-blockchain-gui/pull/1004

seeden avatar Sep 07 '22 10:09 seeden