rename variable

This commit is contained in:
Etan Kissling 2024-06-23 23:52:35 +02:00
parent 4e8e316012
commit eb8ba1a3ff
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 2 additions and 2 deletions

View File

@ -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"