summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-06 13:33:38 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-06 13:35:31 -0700
commit3dc3fb2375e9b2296611734980e8ae38334622de (patch)
tree87afb2673b50f19da894cad84bb18a01df5c6735
parent68e1dfa308a36530b6fd3d3d872290e900abbfaa (diff)
Fix typo in merkletree
PiperOrigin-RevId: 335709552
-rw-r--r--pkg/merkletree/merkletree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/merkletree/merkletree.go b/pkg/merkletree/merkletree.go
index 4b4f9bd52..ccef83259 100644
--- a/pkg/merkletree/merkletree.go
+++ b/pkg/merkletree/merkletree.go
@@ -41,7 +41,7 @@ type Layout struct {
blockSize int64
// digestSize is the size of a generated hash.
digestSize int64
- // levelOffset contains the offset of the begnning of each level in
+ // levelOffset contains the offset of the beginning of each level in
// bytes. The number of levels in the tree is the length of the slice.
// The leaf nodes (level 0) contain hashes of blocks of the input data.
// Each level N contains hashes of the blocks in level N-1. The highest