Open cloud6605 opened 6 months ago
Your have to set "sighashTypes:[131]" to allow that.
Hi,I set the sighashTpyes to 131,but I got some error.
Please post your full code for calling the signPsbt, similar to the one below.
unisat.signPsbt("xxx",{...})
unisat.signPsbts(['7000000000000xxxxx...'], [{ autoFinalized: false, toSignInputs: [ { index: 1, address: '0xxxxxxxxxx...', sighashTypes: [131] } ] }])
This seems to have no issues. The complete code is needed for operation reproduction.
unisat wallet doesn't allow SIGHASH_SINGLE | ANYONECANPAY sign type. How do we sign a psbt for listing?