From f0be6ea595c8763dec4036b0b95e190a6c322866 Mon Sep 17 00:00:00 2001 From: cdetrio Date: Sun, 4 Aug 2019 13:27:00 -0400 Subject: [PATCH] typo in getF1 --- src/bn128.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bn128.js b/src/bn128.js index e286818..8176b44 100644 --- a/src/bn128.js +++ b/src/bn128.js @@ -519,6 +519,7 @@ class Bn128 { this.instance.exports.f1m_fromMontgomery(p, p); const r = this.bin2int(this.i32.slice(p>>2, (p+SIZEF1)>>2)).toString(); this.instance.exports.f1m_toMontgomery(p, p); + return r; } getF2(p) {