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

Commit

Permalink
Only log integrity hash with snapshot startup
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Oct 26, 2018
1 parent bcb62ff commit fa8dc3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,9 @@ struct controller_impl {
db.undo();
}

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

}

Expand Down

0 comments on commit fa8dc3f

Please sign in to comment.