multi: bump btcd to taproot aware version
This commit is contained in:
24 files changed
+228
-107
No files matched your search
@@ -135,7 +135,7 @@ func (r *RPCKeyRing) SendOutputs(outputs []*wire.TxOut,
|
||||
// So we can just compute the input script using the remote signer.
|
||||
signDesc := input.SignDescriptor{
|
||||
HashType: txscript.SigHashAll,
|
||||
SigHashes: txscript.NewTxSigHashes(tx),
|
||||
SigHashes: input.NewTxSigHashesV0Only(tx),
|
||||
}
|
||||
for i, txIn := range tx.TxIn {
|
||||
// We can only sign this input if it's ours, so we'll ask the
|
||||
@@ -255,7 +255,7 @@ func (r *RPCKeyRing) FinalizePsbt(packet *psbt.Packet, _ string) error {
|
||||
// ones to sign. If there is any input without witness data that we
|
||||
// cannot sign because it's not our UTXO, this will be a hard failure.
|
||||
tx := packet.UnsignedTx
|
||||
sigHashes := txscript.NewTxSigHashes(tx)
|
||||
sigHashes := input.NewTxSigHashesV0Only(tx)
|
||||
for idx, txIn := range tx.TxIn {
|
||||
in := packet.Inputs[idx]
|
||||
|
||||
|
||||
Reference in new issue
Block a user