Skip to content

Commit

Permalink
resolved reviews 1
Browse files Browse the repository at this point in the history
  • Loading branch information
agnxsh committed Dec 6, 2024
1 parent 263d766 commit a62b4e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_chain/sync/request_manager.nim
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ proc checkPeerCustody*(rman: RequestManager,
localNodeId = rman.network.nodeId
localCustodyColumns =
localNodeId.get_custody_columns(max(SAMPLES_PER_SLOT.uint64,
CUSTODY_REQUIREMENT.uint64))
CUSTODY_REQUIREMENT.uint64))

# Fetch the remote custody count
let remoteCustodySubnetCount =
Expand All @@ -310,7 +310,7 @@ proc checkPeerCustody*(rman: RequestManager,
remoteNodeId = fetchNodeIdFromPeerId(peer)
remoteCustodyColumns =
remoteNodeId.get_custody_columns(max(SAMPLES_PER_SLOT.uint64,
remoteCustodySubnetCount))
remoteCustodySubnetCount))

for local_column in localCustodyColumns:
if local_column notin remoteCustodyColumns:
Expand Down

0 comments on commit a62b4e3

Please sign in to comment.