Skip to content

Commit e95f45c

Browse files
committed
⚡️ Avoid shadowed built-in map
1 parent f2d69ca commit e95f45c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

electrumx/server/block_processor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2403,8 +2403,8 @@ def build_candidate_heights_info(self, raw_candidate_entry):
24032403
def build_atomical_id_to_candidate_map(self, raw_candidate_entries):
24042404
atomical_id_to_candidates_map = {}
24052405
for raw_candidate_entry in raw_candidate_entries:
2406-
candidate_atomical_id, map = self.build_candidate_heights_info(raw_candidate_entry)
2407-
atomical_id_to_candidates_map[candidate_atomical_id] = map
2406+
candidate_atomical_id, heights_info = self.build_candidate_heights_info(raw_candidate_entry)
2407+
atomical_id_to_candidates_map[candidate_atomical_id] = heights_info
24082408
return atomical_id_to_candidates_map
24092409

24102410
# Populate the requested full realm name to provide context for a subrealm request

0 commit comments

Comments
 (0)