From e195a645d612b424836d680cceb7e2116ef00943 Mon Sep 17 00:00:00 2001 From: rabi-siddique Date: Thu, 26 Sep 2024 14:38:48 +0500 Subject: [PATCH] lint: replace let with const to fix lint failure --- .../src/proposals/replaceCommitteeAndCharter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/inter-protocol/src/proposals/replaceCommitteeAndCharter.js b/packages/inter-protocol/src/proposals/replaceCommitteeAndCharter.js index e5fe720879ea..9b2b0cdc75be 100644 --- a/packages/inter-protocol/src/proposals/replaceCommitteeAndCharter.js +++ b/packages/inter-protocol/src/proposals/replaceCommitteeAndCharter.js @@ -111,14 +111,14 @@ const handlehighPrioritySendersList = async ({ if (highPrioritySendersManager) { // Add the addresses - for (let address of uniqueAddAddresses) { + for (const address of uniqueAddAddresses) { await E(highPrioritySendersManager).add( EC_HIGH_PRIORITY_SENDERS_NAMESPACE, address, ); } // Remove the addresses - for (let address of uniqueRemoveAddresses) { + for (const address of uniqueRemoveAddresses) { await E(highPrioritySendersManager).remove( EC_HIGH_PRIORITY_SENDERS_NAMESPACE, address,