From d02166e0cb539d57ca3b4973d07e3b098d1e862c Mon Sep 17 00:00:00 2001 From: Ed Crovetto Date: Thu, 9 Nov 2023 10:45:43 -0300 Subject: [PATCH] sonar issues fix --- tests/05_02_01-last_fork_active_powpeg_redeem_script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/05_02_01-last_fork_active_powpeg_redeem_script.js b/tests/05_02_01-last_fork_active_powpeg_redeem_script.js index 2423d746..b6cdb2ef 100644 --- a/tests/05_02_01-last_fork_active_powpeg_redeem_script.js +++ b/tests/05_02_01-last_fork_active_powpeg_redeem_script.js @@ -21,6 +21,7 @@ const INITIAL_FEDERATION_SIZE = 3; let btcClient; let rskClientNewFed; let rskClients; +let rskClient; let newFederationBtcPublicKeys; let newFederationPublicKeys; let rskTxHelpers; @@ -71,7 +72,6 @@ describe("Calling getActivePowpegRedeemScript method after last fork after fed c rskClients = Runners.hosts.federates.map((federate) => rsk.getClient(federate.host) ); - // rskClientNewFed = rskClients[rskClients.length - 1]; newFederationPublicKeys = Runners.hosts.federates .filter((federate, index) => index >= INITIAL_FEDERATION_SIZE) .map((federate) => ({