mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-12 07:14:20 +00:00
nits
This commit is contained in:
parent
c6513122b9
commit
7faec9b7a3
@ -372,7 +372,6 @@ proc checkValidPeerCustody*[A, B](man: SyncManager[A, B], peer: A): bool =
|
|||||||
|
|
||||||
var validPeerIds: seq[PeerId]
|
var validPeerIds: seq[PeerId]
|
||||||
|
|
||||||
|
|
||||||
# Get the custody subnet counts of the remote peer
|
# Get the custody subnet counts of the remote peer
|
||||||
let remoteCustodySubnetCount =
|
let remoteCustodySubnetCount =
|
||||||
peer.fetchCustodyColumnCountFromRemotePeer()
|
peer.fetchCustodyColumnCountFromRemotePeer()
|
||||||
@ -400,8 +399,6 @@ proc checkValidPeerCustody*[A, B](man: SyncManager[A, B], peer: A): bool =
|
|||||||
|
|
||||||
# Otherwise add the peer to the set
|
# Otherwise add the peer to the set
|
||||||
# of valid peerIds
|
# of valid peerIds
|
||||||
# validPeerIds.add(peer.peerId)
|
|
||||||
# validPeerIds
|
|
||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user