I forgot to upgrade (from CLI or GUI v0.13 to CLI or GUI v0.14) and created / performed a transaction on the wrong (alternative) chain. How do I resolve this issue and let the CLI / GUI show my proper balance?
2 Answers
First and foremost, you have to ensure that you properly upgraded to v0.14. A guide can be found here. In addition, your blockchain has to be "corrected" such that your node syncs to the right chain. A guide can be found here. Thereafter, follow these steps:
Local node
GUI:
Go to the
Settings
page of the GUI.Press on the
Log
tab.In the
command + enter (e.g. 'help' or 'status')
box type ->flush_txpool
If you're unable to execute this command, proceed with step 7.
Your transaction should now show as
Failed
on theHistory
page.Your balance should now reflect the proper balance.
If not, exit the GUI, but keep the daemon running.
Browse to the directory your wallet files are located (
Documents\Monero\<wallet-name>
on Windows |home/<username>/Monero/<wallet-name>
on Linux |Users/<username>/Monero/<wallet-name>
Mac OS X).Rename
<wallet-name>
(the file without extension) to<wallet-name>-old
.Restart the GUI. This will trigger a wallet refresh from scratch, which shouldn't take longer than 30 minutes.
You should see your proper balance once the wallet is fully refreshed.
CLI
Type
flush_txpool
intomonerod
Use
show_transfers
(inmonero-wallet-cli
) to verify that your transaction now shows asfailed
Your balance should now reflect the proper balance.
If not, type
rescan_spent
inmonero-wallet-cli
Remote node
It's quite unlikely that the remote node you connect(ed) to was running a v0.13 daemon (monerod), as most remote node lookups have proper checks in place. However, use the following steps if it occurred and you created / performed a transaction:
GUI:
Exit the GUI.
Browse to the directory your wallet files are located (
Documents\Monero\<wallet-name>
on Windows |home/<username>/Monero/<wallet-name>
on Linux |Users/<username>/Monero/<wallet-name>
Mac OS X).Rename
<wallet-name>
(the file without extension) to<wallet-name>-old
.Restart the GUI. This will trigger a wallet refresh from scratch, which shouldn't take longer than 30 minutes.
You should see your proper balance once the wallet is fully refreshed.
CLI:
Exit the CLI.
Note that, by default, the CLI stores the wallet files in the same directory as
monero-wallet-cli
Rename
<wallet-name>
(the file without extension) to<wallet-name>-old
.Restart the CLI. This will trigger a wallet refresh from scratch, which shouldn't take longer than 30 minutes.
You should see your proper balance once the wallet is fully refreshed.
-
"Type flush_txpool in the command box (you may need to highlight it with your mouse to see it, as we've gotten reports of it being fairly invisible)." Even after highlighting with mouse I can't see a command box? Apr 15, 2018 at 23:12
-
Please see this Github issue for pointers -> github.com/monero-project/monero-gui/issues/1278– dEBRUYNE ♦Apr 16, 2018 at 9:49
Go to the Settings page of the GUI.
Press Show status <= There is no show status
A window should pop up.
Type flush_txpool in the command box (you may need to highlight it with your mouse to see it, as we've gotten reports of it being fairly invisible).
Your transaction should now show as Failed on the History page.
-
There is, see (10) of -> github.com/monero-ecosystem/monero-GUI-guide/blob/master/…. It probably has a different name if you are using a local language.– dEBRUYNE ♦Apr 16, 2018 at 9:51