Skip to content

Commit

Permalink
lnwallet: make sure loop var is properly referenced
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu committed Nov 28, 2023
1 parent 81841b7 commit 1ee665d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lnwallet/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,8 @@ func (lc *LightningChannel) extractPayDescs(commitHeight uint64,
// persist state w.r.t to if forwarded or not, or can
// inadvertently trigger replays

htlc := htlc

payDesc, err := lc.diskHtlcToPayDesc(
feeRate, commitHeight, &htlc,
localCommitKeys, remoteCommitKeys,
Expand Down

0 comments on commit 1ee665d

Please sign in to comment.