-
Notifications
You must be signed in to change notification settings - Fork 375
how can I apply signature generated from signP2SHtransaction to transaction? #248
Comments
these code is also failed. |
Hi @qiluge , |
thanks @ayush-techracers , I have try to valid two signatures, and there are both invalid
|
@qiluge this is the utxo that you are trying to consume is and output index of this utxo is
So while signing the transaction from ledger device you are using vout 0 while it must be 1
|
I'm so sorry,
these code also produced invalid signature... |
@ayush-techracers and I use these code
to generated tx to broadcast, the blockcyper return
|
I have found problem:
while call signP2SH, the redeemScript argument should use redeem script, not redeem script hash. |
@ayush-techracers thank you very much, thanks for your help for so many days. |
Hi @qiluge ,But have you tried with multiple utxos? Since my problem is when I am trying to sign the transaction with multiple utxos. Then I am getting first signature correct and rest of the signatures are invalid from ledger |
the following code is used to construct 2/2 multi-sign transaction enable to broadcast to bitcoin test net, but I the signature generated from ledger is always verify failed. How can I generated correct signature for P2SH transaction from ledger nano s?
the result and error is
the error is produced by
The text was updated successfully, but these errors were encountered: