Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #378

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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 types/metadataV10.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func collectHashersV10(x StorageFunctionTypeV10) []StorageHasherV10 {
case x.IsDoubleMap:
return []StorageHasherV10{x.AsDoubleMap.Hasher, x.AsDoubleMap.Key2Hasher}
default:
panic("Unexpexted type")
panic("Unexpected type")
}
}

Expand Down
2 changes: 1 addition & 1 deletion types/metadataV13.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func collectHashersV13(x StorageFunctionTypeV13) []StorageHasherV10 {
case x.IsNMap:
return x.AsNMap.Hashers
default:
panic("Unexpexted type")
panic("Unexpected type")
}
}

Expand Down
2 changes: 1 addition & 1 deletion types/metadataV7.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func collectHashersV5(x StorageFunctionTypeV5) []StorageHasher {
case x.IsDoubleMap:
return []StorageHasher{x.AsDoubleMap.Hasher, x.AsDoubleMap.Key2Hasher}
default:
panic("Unexpexted type")
panic("Unexpected type")
}
}

Expand Down
2 changes: 1 addition & 1 deletion types/uint.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (i *U128) GobDecode(b []byte) error {
return i.Int.GobDecode(b)
}

// U256 is an usigned 256-bit integer, it is represented as a big.Int in Go.
// U256 is an unsigned 256-bit integer, it is represented as a big.Int in Go.
type U256 struct {
*big.Int
}
Expand Down