diff --git a/src/abstract/weierstrass.ts b/src/abstract/weierstrass.ts index aecbeb3..06a46bb 100644 --- a/src/abstract/weierstrass.ts +++ b/src/abstract/weierstrass.ts @@ -188,7 +188,7 @@ export const DER = { // prettier-ignore const _0n = BigInt(0), _1n = BigInt(1), _2n = BigInt(2), _3n = BigInt(3), _4n = BigInt(4); -export function weierstrassPoints(opts: CurvePointsType) { +export function weierstrassPoints(opts: CurvePointsType): CurvePointsRes { const CURVE = validatePointOpts(opts); const { Fp } = CURVE; // All curves has same field / group length as for now, but they can differ