mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-18 10:06:51 +01:00
We use SignOutputRaw which expects a witness script being set, even for P2WKH. There is a special case in SignOutputRaw for the case where the script is a p2wkh script, then the input script is reconstructed correctly for the sighash.