Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Nov 18, 2023
1 parent 83b6112 commit 1160f4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ProofOfSpaceOG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ void ProofOfSpaceOG::validate() const
if(plot_key_ != plot_key) {
throw std::logic_error("invalid plot_key");
}
// TODO: include ksize in hash
if(hash_t(hash_t(pool_key + plot_key_) + bytes_t<4>().from_uint(11337u)) != plot_id) {
throw std::logic_error("invalid proof keys or port");
}
Expand Down

0 comments on commit 1160f4c

Please sign in to comment.