Closed danieljperry closed 8 months ago
@danieljperry while the spinner is visible, the GUI is asking the wallet to check if the wallet-to-be-deleted is used for farming or pool rewards. The code in question is:
farmer_target = config["farmer"].get("xch_target_address")
pool_target = config["pool"].get("xch_target_address")
address_to_check: List[bytes32] = [decode_puzzle_hash(farmer_target), decode_puzzle_hash(pool_target)]
Can you check if your config has valid values for the farmer/pool xch_target_address
?
Thanks, that was the issue. Both instances of the target address were blank:
xch_target_address: ''
When I added a real address, I could delete the key. However, the UX issue still remains. If I am just running a wallet and am not farming, I cannot delete a key from the GUI unless I add a dummy address to my config.yaml. Before the address_to_check
line, would it be possible to check whether the farmer_target
and pool_target
are valid addresses?
Zlatko can u take a look at this if u have some time
What happened?
Delete key from the GUI fails, but it succeeds from the CLI.
To recreate:
wallet keys
diaglogDelete
A new spinner appears, but the key is not deleted. A
WARNING
message appears in the log (see below).I'm seeing the same behavior on Windows and Linux. The wallet is synced when I attempt to delete it. It doesn't seem to matter whether the node is synced.
The stack trace is from 2.0.1, though I'm also seeing it in 2.1.2-rc2.
Version
2.0.1
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output