-
Notifications
You must be signed in to change notification settings - Fork 55
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
Bug: Wrong Fee Warning #162
Comments
If I send the above psbt to Jade I don't see the warning (fw
ofc I don't have the same wallet/seed as you, so I do get a warning about there not being any inputs for me to sign, but that is as expected. If you can reproduce on testnet, it'd be ideal if you could do so in a temporary wallet where you can share the seed phrase. (Note the definition of 'send amount' is 'outputs that are not change' - but from looking at the psbt the outputs are not to change bip32 paths, so that shouldn't be relevant [more fyi]). |
ok. on testnet, funded with a few sats The following descriptor:
the following jade seed:
the psbt:
gives me the described warning |
Did you register that descriptor on Jade (if so, how ... using some companion app?) |
ok, I used the attached script: When signing I see:
I think this is what I'd expect to see. What fw version are you using ? |
NOTE: if the descriptor wallet is not registered on Jade, ie. 'Step 3.' is:
(and I use the 'Options->Wallet' menu to ensure that registration is deleted...) Then I no longer see the "Verified wallet output" message (as Jade does not have sufficient information about the cosigners to be able to assert this) but I still do not see a 'high fees' warning. |
1.0.29 I will update to 1.0.31 and see if the bug is there still. |
In 1.0.31 the error message does not appear |
However for another PSBT the warning is still there (also with 0 fee): PSBT: using the same seed as above. |
If I substitute the above psbt into the script given above, I still do not see a warning, so I don't know how you are triggering it. Somehow it must think you're not spending anything... The comparison that triggers that warning is essentially: I could change to ( for example ): |
My suspicion is that jade is not being passed this psbt, but rather it is being passed to something like HWI/hwilib (or similar), which is translating it into Jade's legacy format (there is an open PR on HWI to pass psbt through as is). |
Yes, I use HWI (see https://github.com/andreasgriffin/bitcoin-usb/ ) . I was unaware there is a Jade legacy format. |
There's nothing I can do about that until HWI is fixed. Where you send funds back to your own wallet they can be categorised as 'spend' or 'change' (coins to external addresses are only ever 'spend'). HWI is telling Jade that all the funds to your own wallet are "change" and therefore there is no "spend" amount. In this case any fee will be > 'spend' (since 'spend' is 0), so the warning will be shown.
|
The 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u7DKVnak5kI+UkyFFFNrSvZLbWiywaeoUlOuIgICCPVuZMLXHQr6+8FmS+uulT6Mt9AlDSg9X2fAC1T8Hlsc2M90dTAAAIABAACAAAAAgAIAAIAAAAAAAgAAACICAiqNC+U+vJncOwrmJWrzksn6yTT0EQPW48PTwkaghPlFHBTJSbQwAACAAQAAgAAAAIACAACAAAAAAAIAAAAiAgMgxxF62RTvu7DKVnak5kI+UkyFFFNrSvZLbWiywaeoUhzVtDVAMAAAgAEAAIAAAACAAgAAgAAAAAACAAAAAA==
results in a false warning message
The false warning message also appears for non-zero low fees.
The text was updated successfully, but these errors were encountered: