Skip to content

Commit

Permalink
Adjust how we mine the initial blocks due to some CI test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Jul 7, 2024
1 parent c138950 commit 3cf0b84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coins/monero/wallet/tests/runner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub async fn rpc() -> SimpleRequestRpc {
SimpleRequestRpc::new("http://serai:[email protected]:18081".to_string()).await.unwrap();

// Only run once
if rpc.get_height().await.unwrap() != 1 {
if rpc.get_height().await.unwrap() < 100 {
return rpc;
}

Expand All @@ -137,8 +137,8 @@ pub async fn rpc() -> SimpleRequestRpc {
&Scalar::random(&mut OsRng) * ED25519_BASEPOINT_TABLE,
);

// Mine 80 blocks to ensure decoy availability
rpc.generate_blocks(&addr, 80).await.unwrap();
// Mine 100 blocks to ensure decoy availability
rpc.generate_blocks(&addr, 100).await.unwrap();

rpc
}
Expand Down

0 comments on commit 3cf0b84

Please sign in to comment.