From eb8ba1a3ff25f07ff919dad0d5cd09788ccadafa Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Sun, 23 Jun 2024 23:52:35 +0200 Subject: [PATCH] rename variable --- beacon_chain/gossip_processing/light_client_processor.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/gossip_processing/light_client_processor.nim b/beacon_chain/gossip_processing/light_client_processor.nim index 29fbeaea5..f70e43703 100644 --- a/beacon_chain/gossip_processing/light_client_processor.nim +++ b/beacon_chain/gossip_processing/light_client_processor.nim @@ -253,9 +253,9 @@ proc doProcessObject( when lcDataFork > LightClientDataFork.None: let wallSlot = wallTime.slotOrZero() - upgraded = update.migratingToDataFork(lcDataFork) + upgradedUpdate = update.migratingToDataFork(lcDataFork) process_light_client_update( - forkyStore, upgraded.forky(lcDataFork), wallSlot, + forkyStore, upgradedUpdate.forky(lcDataFork), wallSlot, self.cfg, self.genesis_validators_root) else: raiseAssert "Unreachable; self.store[].kind was checked"