fixed name in logging - was causing confusing (and wrong) output regarding the filalized slots

This commit is contained in:
Viktor Kirilov 2020-04-13 18:17:24 +03:00
parent bf2355d877
commit cab68c28ef

View File

@ -665,7 +665,7 @@ proc onSlotStart(node: BeaconNode, lastSlot, scheduledSlot: Slot) {.gcsafe, asyn
headRoot = shortLog(node.blockPool.head.blck.root), headRoot = shortLog(node.blockPool.head.blck.root),
finalizedSlot = shortLog(node.blockPool.finalizedHead.blck.slot), finalizedSlot = shortLog(node.blockPool.finalizedHead.blck.slot),
finalizedRoot = shortLog(node.blockPool.finalizedHead.blck.root), finalizedRoot = shortLog(node.blockPool.finalizedHead.blck.root),
finalizedSlot = shortLog(node.blockPool.finalizedHead.blck.slot.compute_epoch_at_slot()), finalizedEpoch = shortLog(node.blockPool.finalizedHead.blck.slot.compute_epoch_at_slot()),
cat = "scheduling" cat = "scheduling"
# Check before any re-scheduling of onSlotStart() # Check before any re-scheduling of onSlotStart()