mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 17:52:25 +01:00
lnwallet: set NextHeight in HtlcView
This commit is contained in:
parent
9795a7856b
commit
0af8ce4c54
@ -3183,6 +3183,9 @@ func (lc *LightningChannel) fetchCommitmentView(remoteChain bool,
|
||||
}
|
||||
feePerKw := filteredHTLCView.FeePerKw
|
||||
|
||||
htlcView.NextHeight = nextHeight
|
||||
filteredHTLCView.NextHeight = nextHeight
|
||||
|
||||
// Actually generate unsigned commitment transaction for this view.
|
||||
commitTx, err := lc.commitBuilder.createUnsignedCommitmentTx(
|
||||
ourBalance, theirBalance, !remoteChain, feePerKw, nextHeight,
|
||||
|
Loading…
x
Reference in New Issue
Block a user