-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
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 signPsbt allowedSignHash parameter:
a number representing the sigHash type to use for signing.
will default to the sighash type of the input if not provided.
The full set of parameters are:
{
"broadcast": false,
"psbt": "cHNidP8BAJoCAAAAAuYCeZMEme7DCP+M/kzDSjO+aTjpH1adSFnX4gM+cN3IAAAAAAD/////zP/hoEXZoV35MQYEq8y4dmjMWr+XjQHa+6eOd8KknVgAAAAAAP////8CAQAAAAAAAAAWABSDAMplKKzmqC3fqbv2MnZZu3CBUQEAAAAAAAAAFgAUgwDKZSis5qgt36m79jJ2WbtwgVEAAAAAAAEBKwEAAAAAAAAAIlEgzKfnj70ukeU4i0q6DEOJ3S6zPydXyGlyjZGRZ33thfMBAwQBAAAAARcgPcAfGktmVncnTqmhdMz/SuC+th6PgoS71xpyhHxA7mEAAQErAQAAAAAAAAAiUSDMp+ePvS6R5TiLSroMQ4ndLrM/J1fIaXKNkZFnfe2F8wEDBAMAAAABFyA9wB8aS2ZWdydOqaF0zP9K4L62Ho+ChLvXGnKEfEDuYQAAAA==",
"signInputs": {
"bc1pgeae0s2zkjvezffs9essn9azf67h29ceh8nd9548vcrcfmfxwajqnh9fkh": [
0,
1
]
}
}The sig hash types for the 2 inputs are:
input1 sighash type: 1
input2 sighash type: 3
What am I doing wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels