Open oren-z0 opened 2 weeks ago
https://github.com/cryptoadvance/specter-desktop/pull/2467 doesn't solve the problem. I'm getting a different error message: "Failed to load utxos, KeyError: '51845...'":
Traceback (most recent call last):
File "/Users/oren/private_workspace/specter-desktop/src/cryptoadvance/specter/wallet/wallet.py", line 699, in check_utxo
tx: WalletAwareTxItem = txlist_dict[utxo_txid]
KeyError: '518457cbb7fa87fe90980b32890721fef2a6c850497369484423ae361dcb2ae8'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/oren/private_workspace/specter-desktop/src/cryptoadvance/specter/wallet/wallet.py", line 705, in check_utxo
tx: WalletAwareTxItem = txlist_dict[utxo_txid]
KeyError: '518457cbb7fa87fe90980b32890721fef2a6c850497369484423ae361dcb2ae8'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/Users/oren/private_workspace/specter-desktop/src/cryptoadvance/specter/util/flask.py", line 32, in run
super().run()
File "/usr/local/Cellar/python@3.10/3.10.15/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/oren/private_workspace/specter-desktop/src/cryptoadvance/specter/managers/wallet_manager.py", line 243, in _update
self.wallets[wallet_name].update()
File "/Users/oren/private_workspace/specter-desktop/src/cryptoadvance/specter/wallet/wallet.py", line 497, in update
self.getdata()
File "/Users/oren/private_workspace/specter-desktop/src/cryptoadvance/specter/wallet/wallet.py", line 756, in getdata
self.check_utxo()
File "/Users/oren/private_workspace/specter-desktop/src/cryptoadvance/specter/wallet/wallet.py", line 752, in check_utxo
raise SpecterError(f"Failed to load utxos, {type(e).__name__}: {e}")
cryptoadvance.specter.specter_error.SpecterError: Failed to load utxos, KeyError: '518457cbb7fa87fe90980b32890721fef2a6c850497369484423ae361dcb2ae8'
Describe the bug Wallet becomes unusable after sending funds from the wallet to itself.
To Reproduce
~/.specter-dev
and/tmp/specter_btc_regtest_plain_datadir
if exist.bitcoind
on regtest with:python3 -m cryptoadvance.specter bitcoind
.python3 -m cryptoadvance.specter server --config DevelopmentConfig --debug
.bitcoind
process so it will start mining to the first address of "wallet1".Debug logs:
Expected behavior Wallet should be able to send funds to its own address.
Screenshots https://v.nostr.build/iNEmbAfNpV96Vcfu.mov
Desktop (please complete the following information):