From aac2b8f4a48cafc3e98b891cb2c596b2110a3c47 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 20 Aug 2024 17:36:39 +0000 Subject: [PATCH] update the comment in parent_hashes --- src/treekem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/treekem.cpp b/src/treekem.cpp index b9cefa00..d164289d 100644 --- a/src/treekem.cpp +++ b/src/treekem.cpp @@ -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(dp.size()); for (int i = static_cast(dp.size()) - 1; i >= 0; i--) {