Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
SachinMeier committed Nov 13, 2023
1 parent 7fa23f1 commit 0c4bbe5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/mempool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@ pub(crate) mod tests {
fee_estimate.half_hour_fee > 0
&& fee_estimate.half_hour_fee <= fee_estimate.fastest_fee
);
assert!(fee_estimate.hour_fee > 0 && fee_estimate.hour_fee <= fee_estimate.half_hour_fee);
assert!(fee_estimate.economy_fee > 0 && fee_estimate.economy_fee <= fee_estimate.hour_fee);
assert!(
fee_estimate.minimum_fee > 0 && fee_estimate.minimum_fee <= fee_estimate.economy_fee
);
assert!(fee_estimate.hour_fee > 0);
assert!(fee_estimate.hour_fee <= fee_estimate.half_hour_fee);
assert!(fee_estimate.economy_fee > 0);
assert!(fee_estimate.economy_fee <= fee_estimate.hour_fee);
assert!(fee_estimate.minimum_fee > 0);
assert!(fee_estimate.minimum_fee <= fee_estimate.economy_fee);
}
}

0 comments on commit 0c4bbe5

Please sign in to comment.