mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-20 11:29:51 +00:00
Fix incorrect polling for sync committee duties.
This commit is contained in:
parent
77657974bb
commit
4656b427c4
@ -960,7 +960,7 @@ proc syncCommitteeDutiesLoop(service: DutiesServiceRef) {.async.} =
|
||||
not(service.pollingSyncDutiesTask.finished()):
|
||||
await cancelAndWait(service.pollingSyncDutiesTask)
|
||||
# Spawning new attestation duties task.
|
||||
service.pollingSyncDutiesTask = service.pollForAttesterDuties()
|
||||
service.pollingSyncDutiesTask = service.pollForSyncCommitteeDuties()
|
||||
|
||||
template checkAndRestart(serviceLoop: DutiesServiceLoop,
|
||||
future: Future[void], body: untyped): untyped =
|
||||
|
Loading…
x
Reference in New Issue
Block a user