Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ipld/unixfs/hamt/hamt.go
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ const maximumHamtWidth = 1 << 10 // FIXME: Spec this and decide of a correct val

func newChilder(ds ipld.DAGService, size int) (*childer, error) {
if size > maximumHamtWidth {
return nil, fmt.Errorf("hamt witdh (%d) exceed maximum allowed (%d)", size, maximumHamtWidth)
return nil, fmt.Errorf("hamt width (%d) exceed maximum allowed (%d)", size, maximumHamtWidth)
}
bf, err := bitfield.NewBitfield(size)
if err != nil {
Expand Down