diff --git a/examples/interop/common/mainchain_registration.ts b/examples/interop/common/mainchain_registration.ts index f609cc3a3a..740270820f 100644 --- a/examples/interop/common/mainchain_registration.ts +++ b/examples/interop/common/mainchain_registration.ts @@ -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, );