lnwallet: export AnchorSize

This commit is contained in:
Oliver Gugger committed 2024-08-23 10:58:13 +02:00
1 parent 22a3988222
commit cf2174fc2d
6 files changed
+16 -16

No files matched your search

+1 -1
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.