multi: apply the new type lntypes.WeightUnit
This commit is contained in:
36 files changed
+178
-133
No files matched your search
@@ -50,7 +50,7 @@ func fundingFee(feeRate chainfee.SatPerKWeight, numInput int, // nolint:unparam
|
||||
weightEstimate.AddP2TROutput()
|
||||
}
|
||||
|
||||
totalWeight := int64(weightEstimate.Weight())
|
||||
totalWeight := weightEstimate.Weight()
|
||||
return feeRate.FeeForWeight(totalWeight)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user