-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Failed to load utxos, IndexError: list index out of range ✕ #2335
Comments
I am having this same issue. This did not happen on the previous Spectre versions, after updating I am now unable to access my wallets due to this issue even after rescanning and resyncing with the blockchain. FYI it's happening mainly for multi sig wallets. |
Would be good to have more context on how to reproduce it. Any logs / hints appreciated. BTW, the above error in the OP is sth else. This happens if you try to create a hot wallet with the same name again. (deleting the hot wallet in Specter does not delete it on the node). |
Hi, I posted about this issue on Telegram and just adding some information here... The error that I'm getting is Looking at the source code, the error comes from Running
Details of that transaction returned by the
Some more context on my error: it's a 2-3 multisig wallet. I dug out local Specter logs and found some more details that could be relevant. Shortly before the multisig wallet stopped loading with the above error, I see a warning in the log: ID2 refers to a transaction that I sent before ID1 was created from my single sig wallet to the multisig wallet and which confirmed successfully. I also remember selecting the UTXO that I got from that transaction, and there is a chance that it was selected when I created a PSBT that would result in ID1 transaction. Could that have led to some kind of mix-up? When I restart bitcoin-core and then restart specter, it displays a message Just to re-iterate: ID2 -> first transaction, from single sig to Specter multisig |
Just so that I can reproduce: You sent a tx from your singlesig wallet to a multisig wallet. Then, you used this exact UTXO to send from the multisig wallet to somewhere else (?) and then the error began? |
Having throught about it, I don't actually think I used this exact UTXO in the end, as the amounts differ, but I remember selecting and unselecting it. But otherwise yes, after I received a transaction from my singlesig, I created a multi-sig transaction using Specter and sent it to a Muun wallet. Then the error message showed up attempting to lock my first transaction (and getting an error), and the multisig couldn't load following that. Does this make sense? Thanks with helping out with this. 👍 |
So, you sent a tx from a singlesig wallet to your multisig wallet in Specter. Then, you sent from this multisig wallet to somewhere. Mhh, not sure yet, what caused the issue then. If you could replicate it on testnet or regtest, that would extremely helpful. |
Apologies, somehow I missed your reply over the weekend. I double-checked the mempool and can confirm that the initial scenario was correct: I used the same UTXO in my multisig wallet that I received from my initial transaction, and somehow that led to the mix-up. I'll try to replicate it in the meantime and will keep updating here! |
Ideally, do it on testnet, but it takes some to setup a testnet node on your laptop. Regtest is also fine. |
further to telegram. all I can give is an anecdotal. I was doing a send from my multisig wallet. PSBT was signed by Coldcard MK4 no issues, Somehow I got back to Specter and opened the Single Sig wallet and tried to post the signed PSBT. It obviously failed - I think it took me another go at it to realise my (stupidity) mistake. I then posted in correct wallet. Next time I opened Specter got the index error. Loaded another wallet with same info. All looked good until I tried to start a send - Index error again, this was a PSBT send. Loaded another wallet - again all looked good. This time I tried a send from UTXO. This time I signed (2/4) via Ledger and Bitcoin Core hot wallet. This went - and all wallets restored. Unfort. I cannot send logs. Hope this helps and I remembered the sequence correctly. |
@pcliff069 thanks for that. Definitely helps to reproduce it. |
Glad it helped. Just for the record everything A1 with my Specter DT.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Manolis Mandrapilias ***@***.***>
Sent: Friday, August 18, 2023 6:24:19 PM
To: cryptoadvance/specter-desktop ***@***.***>
Cc: Paul CLifford ***@***.***>; Mention ***@***.***>
Subject: Re: [cryptoadvance/specter-desktop] Error: Failed to load utxos, IndexError: list index out of range ✕ (Issue #2335)
@pcliff069<https://github.com/pcliff069> thanks for that. Definitely helps to reproduce it.
—
Reply to this email directly, view it on GitHub<#2335 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG7DLQ3OVBJ63RW3OQZXVP3XV5GGHANCNFSM6AAAAAAYERY3FI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I got the same "Failed to load utxos, IndexError: list index out of range" on testnet every time I try to open my hot wallet.
After clicking the "sign with bitcoin core" button the error showed up and the wallet cannot be opened again. I hope this helps reproducing the problem |
Bit more information for you.
Today I was doing a MultiSig send.
It is the only wallet I now have on Specter.
First send, using Coldcard and Ledger no issues.
Second send. First sign Coldcard no problem.
Second using Bitcoin core, error.
Hope that helps.
Regards
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Manolis Mandrapilias ***@***.***>
Sent: Friday, August 18, 2023 6:24:19 PM
To: cryptoadvance/specter-desktop ***@***.***>
Cc: Paul CLifford ***@***.***>; Mention ***@***.***>
Subject: Re: [cryptoadvance/specter-desktop] Error: Failed to load utxos, IndexError: list index out of range ✕ (Issue #2335)
@pcliff069<https://github.com/pcliff069> thanks for that. Definitely helps to reproduce it.
—
Reply to this email directly, view it on GitHub<#2335 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AG7DLQ3OVBJ63RW3OQZXVP3XV5GGHANCNFSM6AAAAAAYERY3FI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hello, I had the same error and I am also experiencing issue trying to recreate the wallet on Macos 2.0.2 Here is what I have got: I am re-importing the same wallet on a new ubuntu vm and it looks that is working (now rescanning). I am unable to import again in Macos. I both tried to delete wallet on bitcoin core and locally. Any suggestion? (beside wiping all specter data) |
The same error here was generated by giving my wife a demo on how to use the wallet, I only closed the transaction without signing and from there cannot enter the wallet anymore, the only solution was to physically delete the wallet folder in Bitcoin core and reimport it with another name, because with the same name it also fails with the following error: ERROR in wallet_importer: new range must include current range = [0,1001] and new range must include current range = [0,1000] |
Thanks guys for reporting! |
+1 Version 2.0.2 I was constructing a multi-sig transaction with coin control (manual utxo selection) and signed with the first key. Before signing with the second key the error showed up.
|
When I click on a wallet to open it I get this error message:
Failed to load utxos, IndexError: list index out of range ✕
The text was updated successfully, but these errors were encountered: