We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98ae8bf commit a645f0cCopy full SHA for a645f0c
lightning/src/chain/chaininterface.rs
@@ -70,14 +70,9 @@ pub const FEERATE_FLOOR_SATS_PER_KW: u32 = 253;
70
71
/// Wraps a `Deref` to a `FeeEstimator` so that any fee estimations provided by it
72
/// 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
79
- F::Target: FeeEstimator,
80
-{
+pub(crate) struct LowerBoundedFeeEstimator<F: Deref>(pub F) where F::Target: FeeEstimator;
+
+impl<F: Deref> LowerBoundedFeeEstimator<F> where F::Target: FeeEstimator {
81
/// Creates a new `LowerBoundedFeeEstimator` which wraps the provided fee_estimator
82
pub fn new(fee_estimator: F) -> Self {
83
LowerBoundedFeeEstimator(fee_estimator)
0 commit comments