mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-31 16:58:31 +00:00
fix reviewed code
This commit is contained in:
parent
b001499281
commit
c6513122b9
@ -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:
|
||||
|
@ -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]).} =
|
||||
|
Loading…
x
Reference in New Issue
Block a user