Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
"The amount exceeds you balance." error message after clicking "Create Unsigned" button even though there are funds on an address.
Expected behaviour
A message about steps to workaround or solve the issue, e.g. "Balance must be above 0 in order to create PSBT. Do you want to start rescanning Bitcoin blockchain in order to update the balance?" (if that's the true reason).
Alternatively, start "Create Unsigned" normally and optionally defer amount input.
Steps to reproduce
Preconditions:
- A watch-only wallet is active.
Steps:
- Start bitcoin-qt
- Select Send tab
- Fill the pay-to and amount fields
- Click "Create Unsigned" button
Relevant log output
Console:
getwalletinfo { "walletname": "test-watch_only", "walletversion": 169900, "format": "sqlite", "balance": 0.00000000, "unconfirmed_balance": 0.00000000, "immature_balance": 0.00000000, "txcount": 0, "keypoolsize": 0, "keypoolsize_hd_internal": 0, "paytxfee": 0.00000000, "private_keys_enabled": false, "avoid_reuse": false, "scanning": false, "descriptors": true, "external_signer": false }
listdescriptors { "wallet_name": "test-watch_only", "descriptors": [ { "desc": "addr(tb1qgaxtdmsh6s7l4fpzlheq5g75nyhee3mfltszqm9n0u2538k30u7q8sp9gu)#8hxudg36", "timestamp": 1684136837, "active": false }, { "desc": "addr(tb1que0qlgeudvu3m2nkxne74j4809d87enawssnz6)#rcm6u9x4", "timestamp": 1684136521, "active": false }, { "desc": "addr(tb1qw2ded86wvzkmmze2yp0fy84d635gfgkv3y3gva)#lxflvchu", "timestamp": 1684136521, "active": false } ] } 20230515debug.txt
There might have been similar issue reported: https://github.com/bitcoin-core/gui/issues/83
How did you obtain Bitcoin Core
Pre-built binaries
What version of Bitcoin Core are you using?
25.0 rc1
Operating system and version
Windows 11
Machine specifications
No response