Skip to content

Commit

Permalink
change the reward rate multiplier from 20 to 0 when find bus id
Browse files Browse the repository at this point in the history
  • Loading branch information
cookspam committed May 26, 2024
1 parent 6b24ec9 commit 0614493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 0614493

Please sign in to comment.