diff --git a/bls/bls_test.go b/bls/bls_test.go index 2892fad..cde0ad9 100755 --- a/bls/bls_test.go +++ b/bls/bls_test.go @@ -119,7 +119,7 @@ func TestBLS_DeserializationG1(t *testing.T) { err := pub.Deserialize(obj.Input.Pubkey) if name == "deserialization_succeeds_infinity_with_true_b_flag.json" { - // we also fail if point is at inifinity + // we also fail if point is at infinity return } diff --git a/spec/spec_test.go b/spec/spec_test.go index e90672b..f7b3041 100644 --- a/spec/spec_test.go +++ b/spec/spec_test.go @@ -40,7 +40,7 @@ func TestPresetMainnet(t *testing.T) { key = strings.Title(key) if val, ok := specOut[key]; ok { - // avoid uint8 and int comparisions by using the fmt.Sprinot to format + // avoid uint8 and int comparisons by using the fmt.Sprinot to format require.Equal(t, fmt.Sprintf("%d", val), fmt.Sprintf("%d", presetVal)) } }