Fix Portal beacon statusLogLoop that was not running (#2702)
This commit is contained in:
parent
dbe3393f5c
commit
91e18caf84
|
@ -380,6 +380,7 @@ proc start*(n: BeaconNetwork) =
|
||||||
|
|
||||||
n.portalProtocol.start()
|
n.portalProtocol.start()
|
||||||
n.processContentLoop = processContentLoop(n)
|
n.processContentLoop = processContentLoop(n)
|
||||||
|
n.statusLogLoop = statusLogLoop(n)
|
||||||
|
|
||||||
proc stop*(n: BeaconNetwork) {.async: (raises: []).} =
|
proc stop*(n: BeaconNetwork) {.async: (raises: []).} =
|
||||||
info "Stopping Portal beacon chain network"
|
info "Stopping Portal beacon chain network"
|
||||||
|
|
|
@ -131,7 +131,6 @@ proc exportLCUpdates*(
|
||||||
withForkyObject(updates[0]):
|
withForkyObject(updates[0]):
|
||||||
when lcDataFork > LightClientDataFork.None:
|
when lcDataFork > LightClientDataFork.None:
|
||||||
let
|
let
|
||||||
slot = forkyObject.attested_header.beacon.slot
|
|
||||||
period = forkyObject.attested_header.beacon.slot.sync_committee_period
|
period = forkyObject.attested_header.beacon.slot.sync_committee_period
|
||||||
contentKey = encode(updateContentKey(period.uint64, count))
|
contentKey = encode(updateContentKey(period.uint64, count))
|
||||||
forkDigest = forkDigestAtEpoch(
|
forkDigest = forkDigestAtEpoch(
|
||||||
|
|
Loading…
Reference in New Issue