Skip to content
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

Unusual change path warning #112

Open
Zeke8990 opened this issue Jan 11, 2024 · 17 comments
Open

Unusual change path warning #112

Zeke8990 opened this issue Jan 11, 2024 · 17 comments

Comments

@Zeke8990
Copy link

I didn’t have any issues sending/receiving from other wallets to Jade. However, I’m having trouble consolidating UTXOs within my Jade, using Sparrow.

When I attempt to sign the transaction, Jade warns me of an “unusual change path” and Sparrow reports that it “failed to extract input _tx.”

I have closed Jade in Sparrow and reopened with the correct passphrase, but don’t know what to try next.

@JamieDriver
Copy link
Collaborator

JamieDriver commented Jan 12, 2024

it “failed to extract input _tx.”

This means sparrow is not passing the utxo tx - is this the latest version of sparrow ?
Seems v odd that it would work for a foreign address but not for your own address - I assume that's the only difference ?
You're doing a 'send all' to an address of your own ?

You're connected via USB I assume - ie. not using QR codes ?

@Zeke8990
Copy link
Author

Zeke8990 commented Jan 12, 2024 via email

@georgantas
Copy link

Related to: #40

The jade does not handle consolidation transactions properly.

@JamieDriver
Copy link
Collaborator

In what sense ?

The 'unusual path' warning is more of a 'mismatch' between Jade and the app in question - ie. if the app tells Jade that a certain output is our 'change' - but the path is not of the internal chain (ie. is not .../1/n) then Jade issues that warning - same as if the app tells Jade that a certain output is not our change (but is eg a consolidation output back to ourselves) but the path is of the internal chain (ie. .../1/n) then again Jade issues that warning.

The error “failed to extract input_tx.” is due to the app not passing Jade the full tx from which the utxo being spent was an output.

@georgantas
Copy link

georgantas commented Jul 29, 2024

Right. As I understand it, the mismatch is due to a bug in HWI, which most apps use to interface with Jade.

@JamieDriver
Copy link
Collaborator

I can look at it myself when I get a moment ...

@georgantas
Copy link

Do you know if resolving the mismatch in HWI would also fix the second issue (failed to extract input_tx) ?

@JamieDriver
Copy link
Collaborator

I don't think so, as I think that implies the psbt being passed from sparrow to hwi/jade is missing some data jade expects.

@CaryCreative
Copy link

I am having the same issue, error messages as above when using Sparrow with the Jade to consolidate UTXOs , is there a solution. Any help would be appreciated.

@georgantas
Copy link

I'm not aware of any workaround at the moment.

@CaryCreative
Copy link

CaryCreative commented Aug 28, 2024 via email

@georgantas
Copy link

Oh actually, you can maybe try using an older version of Sparrow. I don’t recall “failed to extract input_tx” being an issue when I had used multisig with the Jade some versions ago. I believe I had used this version: https://github.com/sparrowwallet/sparrow/releases/tag/1.6.4

The unusual change path error will persist however because thats an issue on the Jade’s side.

@CaryCreative
Copy link

CaryCreative commented Aug 29, 2024 via email

@georgantas
Copy link

No, I did not get any fee issues on that version. If you are still having issues with the fee and "invalid input" error on version 1.6.4 of Sparrow, then I think these issues could be related to a newer version of the firmware. I don't think a root cause for them has been identified yet. Agree, these issues do not inspire confidence 😣

@JamieDriver
Copy link
Collaborator

The 'unusual path' warning is more of a 'mismatch' between Jade and the app in question - ie. if the app tells Jade that a certain output is our 'change' - but the path is not of the internal chain (ie. is not .../1/n) then Jade issues that warning - same as if the app tells Jade that a certain output is not our change (but is eg a consolidation output back to ourselves) but the path is of the internal chain (ie. .../1/n) then again Jade issues that warning.

The error “failed to extract input_tx.” is due to the app not passing Jade the full tx from which the utxo being spent was an output.

@JamieDriver
Copy link
Collaborator

I have recently made a PR to HWI which should address these issues - ofc we have to wait for HWI to take them, release, and then Sparrow to upgrade HWI ...
See bitcoin-core/HWI#753

@CaryCreative
Copy link

CaryCreative commented Sep 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants