Skip to content

Commit d1ba70e

Browse files
authored
Merge pull request #469 from guggero/sweeper-pk-script
sweep: always send signed output's pk script
2 parents a635090 + 732390e commit d1ba70e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

release_notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@ This file tracks release notes for the loop client.
2525

2626
#### Bug Fixes
2727

28+
* Loop now supports being hooked up to a remote signing pair of `lnd` nodes,
29+
as long as `lnd` is `v0.14.3-beta` or later.
30+
2831
#### Maintenance

sweep/sweeper.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ func (s *Sweeper) CreateSweepTx(
6161
signDesc := lndclient.SignDescriptor{
6262
WitnessScript: htlc.Script(),
6363
Output: &wire.TxOut{
64-
Value: int64(amount),
64+
Value: int64(amount),
65+
PkScript: htlc.PkScript,
6566
},
6667
HashType: txscript.SigHashAll,
6768
InputIndex: 0,

0 commit comments

Comments
 (0)