cryptoadvance / cryptoadvance/specter-desktop

Failed to load UTXOs with Taproot wallet

Open
#2,078 15 comments 0 reactions 1 assignee Claimed by @k9ert View on GitHub
bug
Dominant language
Python
Stars
847
Forks
259
Avg merge
6d 18h
Merged PRs (30d)
2

Description

grafik

(Screenshot from revamp branch but same on master)

### Steps to reproduce
Create a Taproot wallet, send regtest funds to it from a Segwit wallet to produce an UTXO for the Taproot wallet.

### Stacktrace
```
Updating wallet Taproot only wallet
[2023-01-25 10:27:02,092] ERROR in wallet: 'fc22c9b4dcb1f4b063852c4fb1e59dd9806c691583c6b5b385cf3c80488ef464'
Traceback (most recent call last):
File "/Users/heinzi/coding/repos/specter-desktop/src/cryptoadvance/specter/wallet.py", line 845, in check_utxo
tx: WalletAwareTxItem = txlist_dict[utxo_txid]
KeyError: 'fc22c9b4dcb1f4b063852c4fb1e59dd9806c691583c6b5b385cf3c80488ef464'
Exception in thread Thread-144 (_update):
Traceback (most recent call last):
File "/Users/heinzi/coding/repos/specter-desktop/src/cryptoadvance/specter/wallet.py", line 845, in check_utxo
tx: WalletAwareTxItem = txlist_dict[utxo_txid]
KeyError: 'fc22c9b4dcb1f4b063852c4fb1e59dd9806c691583c6b5b385cf3c80488ef464'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/heinzi/.pyenv/versions/3.10.0/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
self.run()
File "/Users/heinzi/coding/repos/specter-desktop/src/cryptoadvance/specter/util/flask.py", line 32, in run
super().run()
File "/Users/heinzi/.pyenv/versions/3.10.0/lib/python3.10/threading.py", line 946, in run
self._target(*self._args, **self._kwargs)
File "/Users/heinzi/coding/repos/specter-desktop/src/cryptoadvance/specter/managers/wallet_manager.py", line 259, in _update
self.wallets[wallet_name].update()
File "/Users/heinzi/coding/repos/specter-desktop/src/cryptoadvance/specter/wallet.py", line 635, in update
self.getdata()
File "/Users/heinzi/coding/repos/specter-desktop/src/cryptoadvance/specter/wallet.py", line 929, in getdata
self.check_utxo()
File "/Users/heinzi/coding/repos/specter-desktop/src/cryptoadvance/specter/wallet.py", line 864, in check_utxo
raise SpecterError(f"Failed to load utxos, {e}")
cryptoadvance.specter.specter_error.SpecterError: Failed to load utxos, 'fc22c9b4dcb1f4b063852c4fb1e59dd9806c691583c6b5b385cf3c80488ef464'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.