From c34bfbcbc79776528fcb635985c4e67ef09c3bf1 Mon Sep 17 00:00:00 2001 From: Tschakki Date: Mon, 23 Oct 2023 14:53:24 +0200 Subject: [PATCH] Update variable --- examples/interop/common/mainchain_registration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, );