sync only via prysm 2
This commit is contained in:
parent
b2bb6ac863
commit
a07ef5d654
|
@ -710,6 +710,8 @@ proc syncWorker[A, B](man: SyncManager[A, B], index: int) {.async: (raises: [Can
|
||||||
peer = await man.pool.acquire()
|
peer = await man.pool.acquire()
|
||||||
if peer.remoteAgent == Eth2Agent.Prysm:
|
if peer.remoteAgent == Eth2Agent.Prysm:
|
||||||
await man.syncStep(index, peer)
|
await man.syncStep(index, peer)
|
||||||
|
man.pool.release(peer)
|
||||||
|
peer = nil
|
||||||
man.pool.release(peer)
|
man.pool.release(peer)
|
||||||
peer = nil
|
peer = nil
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue