Merge pull request #469 from guggero/sweeper-pk-script

sweep: always send signed output's pk script
loop-18-0-lnd-14
Oliver Gugger 2 years ago committed by GitHub
commit d1ba70e3fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,4 +25,7 @@ This file tracks release notes for the loop client.
#### Bug Fixes
* Loop now supports being hooked up to a remote signing pair of `lnd` nodes,
as long as `lnd` is `v0.14.3-beta` or later.
#### Maintenance

@ -61,7 +61,8 @@ func (s *Sweeper) CreateSweepTx(
signDesc := lndclient.SignDescriptor{
WitnessScript: htlc.Script(),
Output: &wire.TxOut{
Value: int64(amount),
Value: int64(amount),
PkScript: htlc.PkScript,
},
HashType: txscript.SigHashAll,
InputIndex: 0,

Loading…
Cancel
Save