You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I'm using node.js bindings, and while new P1 and new P2 work well, I encounter problems with PT constructor:
const _p1: P1 = new blst.P1();
const p1: P1 = _p1.hash_to(...); // expected result
const p2: P2 = new blst.P2(...); // also works
const p: PT = new blst.PT(p1, p2); // Error: Illegal arguments for construction of _exports_PT
I also need the PT.one() value, and can't get it too.
Any idea or code examples for node.js where PT was used?
The text was updated successfully, but these errors were encountered:
Hello!
I'm using node.js bindings, and while
new P1
andnew P2
work well, I encounter problems with PT constructor:I also need the
PT.one()
value, and can't get it too.Any idea or code examples for node.js where PT was used?
The text was updated successfully, but these errors were encountered: