Skip to content

Commit

Permalink
proof_quality hash prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Nov 18, 2023
1 parent 20d74b7 commit fc58635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pos/verify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ hash_t verify(const std::vector<uint32_t>& X_values, const hash_t& challenge, co
if(X_out != X_values) {
throw std::logic_error("invalid proof order");
}
return hash_t(challenge + result.second);
return hash_t(std::string("proof_quality") + challenge + result.second);
}


Expand Down

0 comments on commit fc58635

Please sign in to comment.