lnwallet: export AnchorSize

This commit is contained in:
Oliver Gugger
2024-04-11 14:22:17 +02:00
parent 22a3988222
commit cf2174fc2d
6 changed files with 16 additions and 16 deletions

View File

@@ -261,7 +261,7 @@ func NewChannelReservation(capacity, localFundingAmt btcutil.Amount,
// addition to the two anchor outputs.
feeMSat := lnwire.NewMSatFromSatoshis(commitFee)
if req.CommitType.HasAnchors() {
feeMSat += 2 * lnwire.NewMSatFromSatoshis(anchorSize)
feeMSat += 2 * lnwire.NewMSatFromSatoshis(AnchorSize)
}
// Used to cut down on verbosity.