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 6c228a3 commit 7b52b9cCopy full SHA for 7b52b9c
units/src/fee_rate/mod.rs
@@ -62,7 +62,7 @@ impl FeeRate {
62
pub fn from_sat_per_vb(sat_vb: u64) -> Option<Self> {
63
// 1 vb == 4 wu
64
// 1 sat/vb == 1/4 sat/wu
65
- // sat_vb sat/vb * 1000 / 4 == sat/kwu
+ // sat/vb * 1000 / 4 == sat/kwu
66
Some(FeeRate::from_sat_per_kwu(sat_vb.checked_mul(1000 / 4)?))
67
}
68
0 commit comments