mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-04 10:43:40 +00:00
remove obsolete curSlot
variable (#5786)
#5773 removed catching up on validator duties after lag. The `curSlot` variable that was used originally to track catch-up progress no longer has a use and is also no longer properly updated. Remove it.
This commit is contained in:
parent
545fb17649
commit
d59632acd0
@ -1927,8 +1927,6 @@ proc handleValidatorDuties*(node: BeaconNode, lastSlot, slot: Slot) {.async.} =
|
||||
withState(node.dag.headState):
|
||||
node.updateValidators(forkyState.data.validators.asSeq())
|
||||
|
||||
var curSlot = lastSlot + 1
|
||||
|
||||
let newHead = await handleProposal(node, head, slot)
|
||||
head = newHead
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user