mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 15:48:13 -05:00
fix: break instead of return (#13402)
This commit is contained in:
@@ -754,9 +754,9 @@ impl<N: NetworkPrimitives> TransactionFetcher<N> {
|
||||
}
|
||||
|
||||
if let Some(ref mut bud) = budget_fill_request {
|
||||
*bud = bud.saturating_sub(1);
|
||||
*bud -= 1;
|
||||
if *bud == 0 {
|
||||
return
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user