Commit 88fbee0
authored
Fix merkle comment typo (#1393)
<!-- Macroscope's pull request summary starts here -->
<!-- Macroscope will only edit the content between these invisible
markers, and the markers themselves will not be visible in the GitHub
rendered markdown. -->
<!-- If you delete either of the start / end markers from your PR's
description, Macroscope will post its summary as a comment. -->
### Correct MerkleTree doc comment in `pkg/merkle/tree.go` to state root
at index 0 and note nil empty nodes and leaves
Updates the `MerkleTree` struct documentation to reflect 0-indexed root
and clarifies that empty nodes and leaves are `nil` and not hashed in
[tree.go](https://github.com/xmtp/xmtpd/pull/1393/files#diff-4a0ec8af27f891e4481136ec6a06b2eea6423d8992b8ea8c5c14d841b05b4d9a).
#### 📍Where to Start
Start with the `MerkleTree` struct doc comment in
[tree.go](https://github.com/xmtp/xmtpd/pull/1393/files#diff-4a0ec8af27f891e4481136ec6a06b2eea6423d8992b8ea8c5c14d841b05b4d9a).
----
<!-- Macroscope's review summary starts here -->
<a href="https://app.macroscope.com">Macroscope</a> summarized 2a966ac.
<!-- Macroscope's review summary ends here -->
<!-- macroscope-ui-refresh -->
<!-- Macroscope's pull request summary ends here -->1 parent 5bc20e5 commit 88fbee0
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments