Skip to content

Commit 8ffcd51

Browse files
authored
Fix typo in consistency proof initial condition
1 parent ddafe78 commit 8ffcd51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

draft-davidben-tls-merkle-tree-certs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ The following procedure can be used to verify a subtree consistency proof.
516516

517517
Given a Merkle Tree over `n` elements, a subtree defined by `[start, end)`, a consistency proof `proof`, a subtree hash `node_hash`, and a root hash `root_hash`:
518518

519-
1. Check that `[start, end)` is a valid subtree ({{definition-of-a-subtree}}), and that `end <= n`. If either do not hold, fail proof verification. These checks imply `0 <= start < end <= end`.
519+
1. Check that `[start, end)` is a valid subtree ({{definition-of-a-subtree}}), and that `end <= n`. If either do not hold, fail proof verification. These checks imply `0 <= start < end <= n`.
520520
1. Set `fn` to `start`, `sn` to `end - 1`, and `tn` to `n - 1`.
521521
1. If `sn` is `tn`, then:
522522
1. Until `fn` is `sn`, right-shift `fn`, `sn`, and `tn` equally.

0 commit comments

Comments
 (0)