Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6164 from EOSIO/gh#6056-long-startup
Browse files Browse the repository at this point in the history
Gh#6056 long startup
  • Loading branch information
heifner authored Oct 26, 2018
2 parents bcb62ff + 9b3aaa2 commit f016bdd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,10 @@ struct controller_impl {
db.undo();
}

ilog( "database initialized with hash: ${hash}", ("hash", calculate_integrity_hash()));
if( snapshot ) {
const auto hash = calculate_integrity_hash();
ilog( "database initialized with hash: ${hash}", ("hash", hash) );
}

}

Expand Down

0 comments on commit f016bdd

Please sign in to comment.