parent
a977e27b20
commit
0c53f95a2d
|
@ -403,7 +403,9 @@
|
||||||
try {
|
try {
|
||||||
registerButton.disabled = true;
|
registerButton.disabled = true;
|
||||||
|
|
||||||
const pubkey = ethers.BigNumber.from(membershipKey.IDCommitment);
|
const idCommitment = membershipKey.IDCommitment;
|
||||||
|
const reversedArray = idCommitment.slice().reverse();
|
||||||
|
const pubkey = ethers.utils.hexlify(reversedArray).toString();
|
||||||
|
|
||||||
const price = await rlnContract.MEMBERSHIP_DEPOSIT();
|
const price = await rlnContract.MEMBERSHIP_DEPOSIT();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue