Skip to content

Commit

Permalink
Correct the if check about when to mine blocks on start
Browse files Browse the repository at this point in the history
Finally fixes the lack of decoy candidates failures in CI.
  • Loading branch information
kayabaNerve committed Jul 7, 2024
1 parent d99ed96 commit 86facae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coins/monero/wallet/tests/runner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ pub async fn rpc() -> SimpleRequestRpc {
let rpc =
SimpleRequestRpc::new("http://serai:[email protected]:18081".to_string()).await.unwrap();

const BLOCKS_TO_MINE: usize = 200;
const BLOCKS_TO_MINE: usize = 110;

// Only run once
if rpc.get_height().await.unwrap() < BLOCKS_TO_MINE {
if rpc.get_height().await.unwrap() > BLOCKS_TO_MINE {
return rpc;
}

Expand Down

0 comments on commit 86facae

Please sign in to comment.