Skip to content

Commit a645f0c

Browse files
committed
f formatting
1 parent 98ae8bf commit a645f0c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

lightning/src/chain/chaininterface.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,9 @@ pub const FEERATE_FLOOR_SATS_PER_KW: u32 = 253;
7070

7171
/// Wraps a `Deref` to a `FeeEstimator` so that any fee estimations provided by it
7272
/// are bounded below by `FEERATE_FLOOR_SATS_PER_KW` (253 sats/KW)
73-
pub(crate) struct LowerBoundedFeeEstimator<F: Deref>(pub F)
74-
where
75-
F::Target: FeeEstimator;
76-
77-
impl<F: Deref> LowerBoundedFeeEstimator<F>
78-
where
79-
F::Target: FeeEstimator,
80-
{
73+
pub(crate) struct LowerBoundedFeeEstimator<F: Deref>(pub F) where F::Target: FeeEstimator;
74+
75+
impl<F: Deref> LowerBoundedFeeEstimator<F> where F::Target: FeeEstimator {
8176
/// Creates a new `LowerBoundedFeeEstimator` which wraps the provided fee_estimator
8277
pub fn new(fee_estimator: F) -> Self {
8378
LowerBoundedFeeEstimator(fee_estimator)

0 commit comments

Comments
 (0)