multi: bump btcd to taproot aware version
This commit is contained in:
24 files changed
+228
-107
No files matched your search
@@ -189,6 +189,7 @@ func Validate(ctx *Context) (*wire.OutPoint, error) {
|
||||
vm, err := txscript.NewEngine(
|
||||
ctx.MultiSigPkScript, ctx.CommitCtx.FullySignedCommitTx,
|
||||
0, txscript.StandardVerifyFlags, nil, nil, fundingValue,
|
||||
txscript.NewCannedPrevOutputFetcher(ctx.MultiSigPkScript, 0),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@@ -98,7 +98,7 @@ func newChannelTestCtx(chanSize int64) (*channelTestCtx, error) {
|
||||
},
|
||||
}
|
||||
|
||||
sigHashes := txscript.NewTxSigHashes(commitTx)
|
||||
sigHashes := input.NewTxSigHashesV0Only(commitTx)
|
||||
aliceSigRaw, err := txscript.RawTxInWitnessSignature(
|
||||
commitTx, sigHashes, 0, chanSize,
|
||||
multiSigScript, txscript.SigHashAll, alicePriv,
|
||||
|
||||
Reference in new issue
Block a user