mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
lnwallet: export AnchorSize
This commit is contained in:
@@ -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