Skip to content

Commit

Permalink
update the comment in parent_hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
birarda committed Aug 20, 2024
1 parent c3b564a commit 5572bc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/treekem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,8 @@ TreeKEMPublicKey::parent_hashes(
throw ProtocolError("Malformed UpdatePath");
}

// Parent hash for all the parents, starting from the root
// Parent hash for all the parents, starting from the last entry of the
// filtered direct path
auto last_hash = bytes{};
auto ph = std::vector<bytes>(dp.size());
for (int i = static_cast<int>(dp.size()) - 1; i >= 0; i--) {
Expand Down

0 comments on commit 5572bc5

Please sign in to comment.