From b01148d906da1efb5e90e7f73e2e329c58bd2d3c Mon Sep 17 00:00:00 2001 From: Santiago Pittella Date: Wed, 18 Oct 2023 15:25:39 -0300 Subject: [PATCH] remove -1 from server call --- lib/starknet_explorer/blockchain/state_sync_system.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/starknet_explorer/blockchain/state_sync_system.ex b/lib/starknet_explorer/blockchain/state_sync_system.ex index b9eb0df3..b4f3b024 100644 --- a/lib/starknet_explorer/blockchain/state_sync_system.ex +++ b/lib/starknet_explorer/blockchain/state_sync_system.ex @@ -122,7 +122,7 @@ defmodule StarknetExplorer.Blockchain.StateSyncSystem do {:ok, next_to_fetch - 1} end - state = %{state | next_to_fetch: next_to_fetch - 1} + state = %{state | next_to_fetch: next_to_fetch} maybe_fetch_another(state)