fix reviewed code

This commit is contained in:
Agnish Ghosh 2024-07-23 12:38:16 +05:30
parent b001499281
commit c6513122b9
2 changed files with 1 additions and 2 deletions

View File

@ -326,7 +326,6 @@ proc fetchDataColumnsFromNetwork(rman: RequestManager,
# Create a peer list, which shall be later trimmed off as to which
# of the peers have the valid custody columns
peers.add(peer)
let validPeers = rman.constructValidCustodyPeers(peers)
if peer in validPeers:

View File

@ -402,7 +402,7 @@ proc checkValidPeerCustody*[A, B](man: SyncManager[A, B], peer: A): bool =
# of valid peerIds
# validPeerIds.add(peer.peerId)
# validPeerIds
return true
true
proc syncStep[A, B](man: SyncManager[A, B], index: int, peer: A)
{.async: (raises: [CancelledError]).} =