Closed longhoangwkm closed 4 years ago
Fixed an error that occurred when sighash type is undefined in f78792d. does this work?
It works well @azuchi san, Thank you so much. It seems that the sequence has been changed after signing so the tx hex was born different from bitcoinjs-lib
More of a question than an issue report.
My situation: I would like to spent BTC from P2WSH-P2SH 2-of-2 multisig address
2MzNSwkkgi75psa1GP5RJynM8sgCt5oeqgG
.1 private key from Client and 1 key from sever. When client sign a raw transaction by bitcoinjs-lib then i send that payload to server to let's server sign remaining sig and broadcast it
Followed this spec: https://github.com/chaintope/bitcoinrb/blob/7da100297a4fbbbbed132c007875b38e9a5691d2/spec/bitcoin/psbt_spec.rb#L218
I tried:
Should i create new server psbt tx without signature from client then merge with client psbt tx. Is there anyway without using
merge
method. Many thanksExpect result after signing from server # i got it by bitcoinjs-lib