fix: revert input.txid

This commit is contained in:
Ivan Vershigora 2024-02-24 11:00:01 +00:00
parent 631ac67d17
commit 8a4e062aed
No known key found for this signature in database
GPG key ID: DCCF7FB5ED2CEBD7

View file

@ -767,7 +767,8 @@ export class MultisigHDWallet extends AbstractHDElectrumWallet {
const witnessScript = p2wsh.redeem.output; const witnessScript = p2wsh.redeem.output;
psbt.addInput({ psbt.addInput({
hash: input.txid, // @ts-ignore: fix me txid || txId issue
hash: input.txid || input.txId,
index: input.vout, index: input.vout,
sequence, sequence,
bip32Derivation, bip32Derivation,