lnwallet: set NextHeight in HtlcView

This commit is contained in:
Oliver Gugger 2024-04-29 19:13:51 +02:00
parent 9795a7856b
commit 0af8ce4c54
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -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,