Skip to content

Commit

Permalink
bug fix: modified the start of new version
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentOCL authored and vince committed Apr 27, 2019
1 parent 4a637f6 commit 8f305f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ struct controller_impl {

bool is_new_version() {
auto ucb = upgrade_complete_block();
if (ucb) return head->block_num > *ucb;
if (ucb) return head->block_num >= *ucb;
return false;
}

Expand Down

0 comments on commit 8f305f5

Please sign in to comment.