lnwallet: export AnchorSize
This commit is contained in:
6 files changed
+16
-16
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user