We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a74e247 commit 315f965Copy full SHA for 315f965
aggregation_mode/payments_poller/src/payments.rs
@@ -61,13 +61,13 @@ impl PaymentsPoller {
61
continue;
62
};
63
64
- let from = last_block_fetched.saturating_sub(5);
65
- tracing::info!("Fetching logs from block {from} to {current_block}");
+ let start_block = last_block_fetched.saturating_sub(5);
+ tracing::info!("Fetching logs from block {start_block} to {current_block}");
66
67
let Ok(logs) = self
68
.proof_aggregation_service
69
.UserPayment_filter()
70
- .from_block(last_block_fetched - 5)
+ .from_block(start_block)
71
.to_block(current_block)
72
.query()
73
.await
0 commit comments