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 4d1a9fd commit 6a5c9d7Copy full SHA for 6a5c9d7
crates/esplora/src/async_ext.rs
@@ -261,7 +261,7 @@ impl EsploraAsyncExt for esplora_client::AsyncClient {
261
}
262
263
264
- if last_index > last_active_index.map(|i| i + stop_gap as u32) {
+ if last_index > last_active_index.map(|i| i.saturating_add(stop_gap as u32)) {
265
break;
266
267
crates/esplora/src/blocking_ext.rs
@@ -252,7 +252,7 @@ impl EsploraExt for esplora_client::BlockingClient {
252
253
254
255
256
257
258
0 commit comments