diff --git a/tests/rpc.rs b/tests/rpc.rs index 9321aa4eac..7ff6e80488 100644 --- a/tests/rpc.rs +++ b/tests/rpc.rs @@ -73,7 +73,7 @@ fn test_rpc_send_tx() { "params": [signature], }); - for _ in 0..10 { + for _ in 0..solana_sdk::timing::DEFAULT_TICKS_PER_SLOT { let mut response = client .post(&rpc_string) .header(CONTENT_TYPE, "application/json")