diff --git a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex index 7992c0e63c..031b150384 100644 --- a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex +++ b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex @@ -308,7 +308,7 @@ defmodule EthereumJSONRPC.Transaction do end def to_elixir(transaction) when is_binary(transaction) do - Logger.warn(["Fetched transaction is not full: ", transaction]) + # Logger.warn(["Fetched transaction is not full: ", transaction]) nil end diff --git a/apps/indexer/lib/indexer/block/realtime/fetcher.ex b/apps/indexer/lib/indexer/block/realtime/fetcher.ex index 37958905b9..5767270f87 100644 --- a/apps/indexer/lib/indexer/block/realtime/fetcher.ex +++ b/apps/indexer/lib/indexer/block/realtime/fetcher.ex @@ -250,7 +250,11 @@ defmodule Indexer.Block.Realtime.Fetcher do [number] true -> - (previous_number + 1)..number + if number - previous_number - 1 > 10 do + (number - 10)..number + else + (previous_number + 1)..number + end end end