Is there a way to sign non-SegWit P2SH inputs?
Observing src/transaction_builder.js the inputs to the sign function are
vin, keyPair, redeemScript, hashType, witnessValue, witnessScript
Does leaving the witnessValue and witnessScript undefined do what is described? Or is there another way to do this?
Thanks for any help!
Does leaving the witnessValue and witnessScript undefined do what is described? Or is there another way to do this?
Yes, they are optional.
Great, Thanks a lot!