Skip to content

Commit

Permalink
GH-611: minor remaining code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshg6 committed Dec 16, 2022
1 parent 1a0356d commit 3ddbc28
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions node/src/accountant/scanners_tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,10 @@ mod tests {
fn payable_above_threshold_values_is_marked_qualified_and_returns_threshold() {
let now = SystemTime::now();
let payment_thresholds = PaymentThresholds::default();
let debt = payment_thresholds.permanent_debt_allowed_gwei + 1_000_000_000;
let time = to_time_t(now) - payment_thresholds.maturity_threshold_sec - 1;
let debt = payment_thresholds.debt_threshold_gwei - 1;
let time = payment_thresholds.maturity_threshold_sec
+ payment_thresholds.threshold_interval_sec
- 1;
let payment_thresholds_rc = Rc::new(payment_thresholds);
let qualified_payable = PayableAccount {
wallet: make_wallet("wallet0"),
Expand Down

0 comments on commit 3ddbc28

Please sign in to comment.