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 073eee7 commit eb9d481Copy full SHA for eb9d481
aggregation_mode/src/backend/mod.rs
@@ -144,8 +144,7 @@ impl ProofAggregator {
144
// Iterate until we can send the proof on-chain
145
let start_time = Instant::now();
146
147
- let mut sent_proof = false;
148
- while !sent_proof {
+ loop {
149
// We add 24 hours because the proof aggregator runs once a day, so the time elapsed
150
// should be considered over a 24h period.
151
let time_elapsed: Duration =
@@ -167,7 +166,7 @@ impl ProofAggregator {
167
166
receipt.transaction_hash
168
);
169
170
- sent_proof = true;
+ break;
171
} else {
172
info!("Skipping sending proof to ProofAggregationService contract due to budget/time constraints.");
173
}
0 commit comments