Skip to content

Commit

Permalink
Fix broken [Stage 3/3] logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ldmberman committed Feb 10, 2021
1 parent 479a4f8 commit 354ccc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/arweave/src/ar_node_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ maybe_report_n_confirmations(B, BI) ->
case length(LastNBlocks) == N of
true ->
{H, _, _} = lists:last(LastNBlocks),
ar_watchdog:block_received_n_confirmations(H, B#block.height - N);
ar_watchdog:block_received_n_confirmations(H, B#block.height - N + 1);
false ->
do_nothing
end.
Expand Down

0 comments on commit 354ccc5

Please sign in to comment.