Skip to content

Commit

Permalink
Address PR comment (remove unneeded line)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Oct 4, 2023
1 parent 958bc01 commit 5c9ebe7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions programs/leap-util/actions/snapshot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ int snapshot_actions::run_subcommand() {
cfg.state_size = opt->db_size * 1024 * 1024;
cfg.state_guard_size = opt->guard_size * 1024 * 1024;
cfg.eosvmoc_tierup = wasm_interface::vm_oc_enable::oc_none; // wasm not used, no use to fire up oc

cfg.db_map_mode = pinnable_mapped_file::map_mode::mapped;
protocol_feature_set pfs = initialize_protocol_features( std::filesystem::path("protocol_features"), false );

try {
Expand All @@ -105,7 +103,7 @@ int snapshot_actions::run_subcommand() {
snap_out.flush();
snap_out.close();
} catch(const database_guard_exception& e) {
std::cerr << "Database is not configured to have enough storage to handle provided snapshot, please increase storage and try aagain" << std::endl;
std::cerr << "Database is not configured to have enough storage to handle provided snapshot, please increase storage and try again" << std::endl;
control.reset();
throw;
}
Expand Down

0 comments on commit 5c9ebe7

Please sign in to comment.