Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
Fix serialized reputation header #1331
Browse files Browse the repository at this point in the history
  • Loading branch information
soft-bagel-93 committed Jun 13, 2019
1 parent 2062b2e commit 1d41693
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/chain/serialize_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ void plugin::serialize_state(const bfs::path& output) {
rep_file += ".reputation";
if (db_.has_index<golos::plugins::follow::reputation_index>()) {
ofstream_sha256 rep_out(rep_file);
rep_out.write(hdr);
serialize_table<golos::plugins::follow::reputation_index>(db_, rep_out, required_approval_object_type+1, [](auto& h, auto& i){}, [](const auto& i){return true;});
wlog("Reputation SHA256 hash: ${h}", ("h", rep_out.hash().str()));
rep_out.close();
Expand Down

0 comments on commit 1d41693

Please sign in to comment.