Skip to content

Commit 42b4c14

Browse files
author
Conor Okus
committed
Additional detail
1 parent ab15467 commit 42b4c14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/chaininterface.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ pub trait FeeEstimator {
4444
/// Must return a value no smaller than 253 (ie 1 satoshi-per-byte rounded up to ensure later
4545
/// round-downs don't put us below 1 satoshi-per-byte).
4646
///
47-
/// This converts to:
47+
/// This method can be implemented with the following unit conversions:
4848
/// * max(satoshis-per-byte * 250, 253)
49-
/// * max(satoshis-per-kbyte / 4)
49+
/// * max(satoshis-per-kbyte / 4, 253)
5050
fn get_est_sat_per_1000_weight(&self, confirmation_target: ConfirmationTarget) -> u32;
5151
}
5252

0 commit comments

Comments
 (0)