Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/4.0' into GH-596-fork-db…
Browse files Browse the repository at this point in the history
…-main
  • Loading branch information
heifner committed Mar 31, 2023
2 parents 7f5a789 + 60ebedd commit 618c805
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
@@ -497,9 +497,10 @@ struct controller_impl {

void replay(std::function<bool()> check_shutdown) {
auto blog_head = blog.head();
if( !blog_head && !fork_db.root() ) {
if( !fork_db.root() ) {
fork_db.reset( *head );
return;
if (!blog_head)
return;
}

replaying = true;

0 comments on commit 618c805

Please sign in to comment.