Skip to content

Commit

Permalink
- Fixed parent block acceptance update.
Browse files Browse the repository at this point in the history
  • Loading branch information
samcamwilliams committed Oct 8, 2018
1 parent 866dbc2 commit bef1ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ar_fork_recovery.erl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ server(#state {
server(S = #state { target_block = TargetB }) ->
receive
{parent_accepted_block, B} ->
if B#block.height > TargetB ->
if B#block.height > TargetB#block.height ->
ar:report(
[
stopping_fork_recovery,
Expand Down

0 comments on commit bef1ad6

Please sign in to comment.