mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 21:30:06 +02:00
lnwallet: set NextHeight in HtlcView
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user