mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 01:33:02 +01:00
lnwallet: make sure loop var is properly referenced
This commit is contained in:
parent
c6d52147e8
commit
bb27135477
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user