From 6c18451a2beda817ac982a997ddbfe1472b7621b Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Wed, 18 Oct 2017 10:25:52 +0000 Subject: [PATCH] Fix typo (yes I use vi) --- grin/src/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grin/src/sync.rs b/grin/src/sync.rs index 2a5e45082..ef8d7e11b 100644 --- a/grin/src/sync.rs +++ b/grin/src/sync.rs @@ -154,7 +154,7 @@ impl Syncer { .collect::>(); let mut offs = 0; for too_old in too_old_pos { - let block_h = blocks_downloading.remove(too_oldi - offs); + let block_h = blocks_downloading.remove(too_old - offs); debug!( LOGGER, "Download request expired for {}, will re-issue.",