Skip to content

Commit 1488ef5

Browse files
committed
Fix typo
1 parent 20ea556 commit 1488ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conversion/key_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ func CheckKeyOnCurve(pk string) (bool, error) {
142142

143143
return isOnCurve(bPk.X, bPk.Y, edwards.Edwards()), nil
144144
default:
145-
return false, errors.Wrapf(err, "failed to parse pubkey %q", pk)
145+
return false, errors.Errorf("failed to parse pubkey %q", pk)
146146
}
147147
}

0 commit comments

Comments
 (0)