Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Berman committed Apr 12, 2024
1 parent 9e41395 commit 4fb89c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/arweave/src/ar_node_worker.erl
Expand Up @@ -777,6 +777,12 @@ maybe_rebase(#{ pending_rebase := {PrevH, H} } = State) ->
{prev_h, ar_util:encode(PrevH)}]),
{noreply, State};
Args ->
SolutionH = (element(2, Args))#mining_solution.solution_hash,
?LOG_INFO([{event, rebasing_block},
{h, ar_util:encode(H)},
{prev_h, ar_util:encode(PrevH)},
{solution_h, ar_util:encode(SolutionH)},
{expected_new_height, PrevB#block.height + 1}]),
handle_found_solution(Args, PrevB, State)
end;
{B, {Status, Timestamp}} ->
Expand Down

0 comments on commit 4fb89c0

Please sign in to comment.