lnd/lnwallet/btcwallet
Oliver Gugger 63ec849605
lnwallet: fix bug in SignPsbt with np2wkh addresses
Fixes #6626.
If either of the two fields FinalScriptSig or FinalScriptWitness is set
on an input of a PSBT then that results in most of the fields of that
input not to be serialized in the packet anymore, since the input is
considered to be complete.
But because a signer isn't supposed to set any of the Final* fields,
this was wrong from the beginning. Only the finalizer will set those
fields.
2022-06-30 10:27:39 +02:00
..
blockchain.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
btcwallet.go lnwallet: adds RequiredReserve method 2022-06-28 23:31:51 +05:30
btcwallet_rpctest.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
btcwallet_test.go lnwallet: add previous_outpoints to ListTransactionDetails 2022-06-27 15:57:57 +05:30
config.go multi: run gosimports 2022-02-10 11:02:01 +01:00
driver.go btcwallet: make blockcache available to BtcWallet 2021-04-28 09:46:11 +02:00
log.go lnd+lnwallet: add logger for btcwallet+rpcwallet 2022-01-06 13:24:32 +01:00
psbt.go lnwallet: fix bug in SignPsbt with np2wkh addresses 2022-06-30 10:27:39 +02:00
psbt_test.go lnwallet: fix bug in SignPsbt with np2wkh addresses 2022-06-30 10:27:39 +02:00
signer.go multi: introduce and use new TapTweak and SignMethod fields 2022-05-11 10:07:49 +02:00
signer_test.go multi: fix inclusion proof size 2022-04-29 11:41:09 +02:00