multi: bump btcd to taproot aware version

This commit is contained in:
Oliver Gugger
2022-03-18 18:37:43 +01:00
parent 0dcaa511a2
commit 72c9582b85
24 changed files with 228 additions and 107 deletions

View File

@@ -266,7 +266,7 @@ func (s *Server) SignOutputRaw(ctx context.Context, in *SignReq) (*SignResp,
return nil, fmt.Errorf("unable to decode tx: %v", err)
}
sigHashCache := txscript.NewTxSigHashes(&txToSign)
sigHashCache := input.NewTxSigHashesV0Only(&txToSign)
log.Debugf("Generating sigs for %v inputs: ", len(in.SignDescs))
@@ -405,7 +405,7 @@ func (s *Server) ComputeInputScript(ctx context.Context,
return nil, fmt.Errorf("unable to decode tx: %v", err)
}
sigHashCache := txscript.NewTxSigHashes(&txToSign)
sigHashCache := input.NewTxSigHashesV0Only(&txToSign)
signDescs := make([]*input.SignDescriptor, 0, len(in.SignDescs))
for _, signDesc := range in.SignDescs {