Skip to content

Commit

Permalink
GH-155 Do not log filename when not written out
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed May 18, 2024
1 parent 81eaa24 commit f3836b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/fork_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ namespace eosio::chain {
auto in_use_value = in_use.load();
// check that fork_dbs are in a consistent state
if (!legacy_valid && !savanna_valid) {
ilog("No fork_database to persist, not writing out: ${f}", ("f", fork_db_file));
ilog("No fork_database to persist");
return;
} else if (legacy_valid && savanna_valid && in_use_value == in_use_t::savanna) {
legacy_valid = false; // don't write legacy if not needed, we delay 'clear' of legacy until close
Expand Down

0 comments on commit f3836b4

Please sign in to comment.