We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8ca774 commit 3d2d547Copy full SHA for 3d2d547
tests/common/mod.rs
@@ -520,6 +520,8 @@ pub(crate) async fn generate_blocks_and_wait<E: ElectrumApi>(
520
let address = bitcoind.new_address().expect("failed to get new address");
521
// TODO: expect this Result once the WouldBlock issue is resolved upstream.
522
let _block_hashes_res = bitcoind.generate_to_address(num, &address);
523
+ // Give electrs a breath to index the 101 blocks before nodes sync
524
+ tokio::time::sleep(std::time::Duration::from_millis(250)).await;
525
wait_for_block(electrs, cur_height + num).await;
526
print!(" Done!");
527
println!("\n");
0 commit comments