mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-01 01:08:27 +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
|
# Create a peer list, which shall be later trimmed off as to which
|
||||||
# of the peers have the valid custody columns
|
# of the peers have the valid custody columns
|
||||||
|
|
||||||
peers.add(peer)
|
peers.add(peer)
|
||||||
let validPeers = rman.constructValidCustodyPeers(peers)
|
let validPeers = rman.constructValidCustodyPeers(peers)
|
||||||
if peer in validPeers:
|
if peer in validPeers:
|
||||||
|
@ -402,7 +402,7 @@ proc checkValidPeerCustody*[A, B](man: SyncManager[A, B], peer: A): bool =
|
|||||||
# of valid peerIds
|
# of valid peerIds
|
||||||
# validPeerIds.add(peer.peerId)
|
# validPeerIds.add(peer.peerId)
|
||||||
# validPeerIds
|
# validPeerIds
|
||||||
return true
|
true
|
||||||
|
|
||||||
proc syncStep[A, B](man: SyncManager[A, B], index: int, peer: A)
|
proc syncStep[A, B](man: SyncManager[A, B], index: int, peer: A)
|
||||||
{.async: (raises: [CancelledError]).} =
|
{.async: (raises: [CancelledError]).} =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user