diff --git a/lib/starknet_explorer/blockchain/state_sync_system.ex b/lib/starknet_explorer/blockchain/state_sync_system.ex index 4505e562..b6d1acb6 100644 --- a/lib/starknet_explorer/blockchain/state_sync_system.ex +++ b/lib/starknet_explorer/blockchain/state_sync_system.ex @@ -123,7 +123,7 @@ defmodule StarknetExplorer.Blockchain.StateSyncSystem do {:ok, next_to_fetch - 1} end - state = %{state | next_to_fetch: next_to_fetch} + state = %{state | next_to_fetch: next_to_fetch - 1} maybe_fetch_another(state)