You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for some guidance here. I am trying to rely on the sig hash's specified in the inputs of a PSBT by not passing allowedSignHash into the signPsbt request method. When doing this, I am getting this error after Confirm in the wallet:
The docs for signPsbtallowedSignHash parameter:
a number representing the sigHash type to use for signing.
will default to the sighash type of the input if not provided.
The text was updated successfully, but these errors were encountered:
wolfpack94
changed the title
Error when submitting a transaction without specifying allowedSignHash to signPsbt request method
Error when signing a transaction without specifying allowedSignHash to signPsbt request method
Sep 18, 2024
@wolfpack94 the documentation is actually incorrect; this is currently a required field. I think it should work for your transaction if you set it to the bitwise-and of all the sighashes you use (in your case, 3 should do it).
We'll be aligning the implementation with the documentation in the next 1 or 2 major releases.
I am looking for some guidance here. I am trying to rely on the sig hash's specified in the inputs of a PSBT by not passing
allowedSignHash
into thesignPsbt
request method. When doing this, I am getting this error afterConfirm
in the wallet:The docs for
signPsbt
allowedSignHash
parameter:The full set of parameters are:
The sig hash types for the 2 inputs are:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: