Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Sep 5, 2024
1 parent e23ec22 commit d2044a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/mmr/memstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type MemStorage struct {
storage *btree.Map[uint64, MMRElement]
}

// NewMemStorage initializes a new instance of MemStorage with an empty storage.
// NewMemStorage initialises a new instance of MemStorage with an empty storage.
func NewMemStorage() *MemStorage {
return &MemStorage{
storage: btree.NewMap[uint64, MMRElement](0),
Expand Down
2 changes: 1 addition & 1 deletion pkg/mmr/mmr.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type MMR struct {
mtx sync.Mutex
}

// NewMMR initializes and returns a new MMR instance.
// NewMMR initialises and returns a new MMR instance.
func NewMMR(size uint64, storage MMRStorage, hasher hash.Hash) *MMR {
return &MMR{
size: size,
Expand Down

0 comments on commit d2044a9

Please sign in to comment.