Skip to main content

wait_for_blocks

Function wait_for_blocks 

Source
pub async fn wait_for_blocks(
    client: &mut TestClient,
    amount_of_blocks: u32,
) -> SyncSummary
Available on crate features testing and std only.
Expand description

Syncs until amount_of_blocks have been created onchain compared to client’s sync height