mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-09 18:52:09 +02:00
multi: apply the new type lntypes.WeightUnit
This commit is contained in:
@@ -240,7 +240,7 @@ func calcCoopCloseFee(chanType channeldb.ChannelType,
|
||||
weightEstimator.AddTxOutput(remoteOutput)
|
||||
}
|
||||
|
||||
totalWeight := int64(weightEstimator.Weight())
|
||||
totalWeight := weightEstimator.Weight()
|
||||
|
||||
return idealFeeRate.FeeForWeight(totalWeight)
|
||||
}
|
||||
|
Reference in New Issue
Block a user