Skip to content

Commit

Permalink
fixes call to renamed future_blocks test fn
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Dec 13, 2024
1 parent 839cbab commit a280b60
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions zebrad/tests/common/lightwalletd/send_transaction_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,14 @@ pub async fn run() -> Result<()> {
);

let mut count = 0;
let blocks: Vec<Block> =
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<Block> = 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(),
Expand Down

0 comments on commit a280b60

Please sign in to comment.