Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Update variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschakki committed Oct 23, 2023
1 parent 70f326f commit c34bfbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/interop/common/mainchain_registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ export const registerMainchain = async (mc: string, sc: string, sidechainDevVali
sidechainValidatorsSignatures.push({ publicKey: validator.blsPublicKey, signature });
}

const publicKeysList = activeValidatorsBLSKeys.map(v => v.blsPublicKey);
const publicBLSKeys = activeValidatorsBLSKeys.map(v => v.blsPublicKey);
console.log('Total active sidechain validators:', sidechainValidatorsSignatures.length);

// Create an aggregated signature
const { aggregationBits, signature } = bls.createAggSig(
publicKeysList,
publicBLSKeys,
sidechainValidatorsSignatures,
);

Expand Down

0 comments on commit c34bfbc

Please sign in to comment.