From 0614493ddf326914479dbf811f15cf3adec4bef0 Mon Sep 17 00:00:00 2001 From: Cook Spam Date: Mon, 27 May 2024 01:00:09 +0900 Subject: [PATCH] change the reward rate multiplier from 20 to 0 when find bus id --- src/mine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mine.rs b/src/mine.rs index e0f11c2..f6323eb 100644 --- a/src/mine.rs +++ b/src/mine.rs @@ -119,7 +119,7 @@ impl Miner { loop { let bus_id = rng.gen_range(0..BUS_COUNT); if let Ok(bus) = self.get_bus(bus_id).await { - if bus.rewards.gt(&reward_rate.saturating_mul(20)) { + if bus.rewards.gt(&reward_rate.saturating_mul(0)) { return bus; } }