Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPiechota committed Jun 25, 2024
1 parent 30bbd50 commit 80fef9b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions apps/arweave/src/ar_node_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1652,12 +1652,6 @@ start_from_state([#block{} = GenesisB]) ->
block_time_history = BlockTimeHistory
}]}.
start_from_state(BI, Height) ->
lists:foreach(
fun({H, _WeaveSize, _TXRoot}) ->
?LOG_ERROR([{event, start_from_state}, {hash, ar_util:encode(H)}])
end,
BI
),
case read_recent_blocks(BI, min(length(BI) - 1, ?START_FROM_STATE_SEARCH_DEPTH)) of
not_found ->
?LOG_ERROR([{event, start_from_state}, {reason, block_headers_not_found}]),
Expand Down

0 comments on commit 80fef9b

Please sign in to comment.