Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbelvin committed Aug 19, 2015
1 parent 87e083c commit 48b35a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions merkle/merkle_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ func BitString(index string) string {
}

// addRoot will advance the current epoch by copying the previous root.
// addRoot will prevent attempts to create epochs other than the current and
// current + 1 epoch
// addRoot will prevent attempts to create epochs < current epoch
func (t *Tree) addRoot(epoch Epoch) (*node, error) {
if t.current == nil {
// Create the first epoch.
Expand Down

0 comments on commit 48b35a5

Please sign in to comment.