From 3cf0b84523dbe5b48121063d13fc39d25e08bc3e Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 6 Jul 2024 20:17:17 -0400 Subject: [PATCH] Adjust how we mine the initial blocks due to some CI test failures --- coins/monero/wallet/tests/runner/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coins/monero/wallet/tests/runner/mod.rs b/coins/monero/wallet/tests/runner/mod.rs index 3ef5c83e..11351033 100644 --- a/coins/monero/wallet/tests/runner/mod.rs +++ b/coins/monero/wallet/tests/runner/mod.rs @@ -126,7 +126,7 @@ pub async fn rpc() -> SimpleRequestRpc { SimpleRequestRpc::new("http://serai:seraidex@127.0.0.1:18081".to_string()).await.unwrap(); // Only run once - if rpc.get_height().await.unwrap() != 1 { + if rpc.get_height().await.unwrap() < 100 { return rpc; } @@ -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 }