Skip to content

Commit

Permalink
Merge pull request steemit#95 from abitmore/patch-1
Browse files Browse the repository at this point in the history
Fix `block_num != 0` syncing issue steemit#89
  • Loading branch information
bytemaster authored Jun 30, 2016
2 parents 23a1390 + 273affa commit 2e74409
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/app/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,9 @@ namespace detail {
if (high_block_num == 0)
return synopsis; // we have no blocks
}

if( low_block_num == 0)
low_block_num = 1;

// at this point:
// low_block_num is the block before the first block we can undo,
Expand Down

0 comments on commit 2e74409

Please sign in to comment.