From a280b60ea37e83b75ef056ba867175c876dc3153 Mon Sep 17 00:00:00 2001 From: Arya Date: Thu, 12 Dec 2024 20:18:53 -0500 Subject: [PATCH] fixes call to renamed `future_blocks` test fn --- .../lightwalletd/send_transaction_test.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/zebrad/tests/common/lightwalletd/send_transaction_test.rs b/zebrad/tests/common/lightwalletd/send_transaction_test.rs index 438990404be..3a2fdeeb0f0 100644 --- a/zebrad/tests/common/lightwalletd/send_transaction_test.rs +++ b/zebrad/tests/common/lightwalletd/send_transaction_test.rs @@ -92,15 +92,14 @@ pub async fn run() -> Result<()> { ); let mut count = 0; - let blocks: Vec = - get_future_blocks(&network, test_type, test_name, MAX_NUM_FUTURE_BLOCKS) - .await? - .into_iter() - .take_while(|block| { - count += block.transactions.len() - 1; - count <= max_sent_transactions() - }) - .collect(); + let blocks: Vec = future_blocks(&network, test_type, test_name, MAX_NUM_FUTURE_BLOCKS) + .await? + .into_iter() + .take_while(|block| { + count += block.transactions.len() - 1; + count <= max_sent_transactions() + }) + .collect(); tracing::info!( blocks_count = ?blocks.len(),