wait for fulu fork epoch to pass, then trigger metadata_v3 (#6759)
* wait for fulu fork epoch to pass, then trigger metadata_v3 * tiny fix
This commit is contained in:
parent
f10fb511cc
commit
7647d17d9e
|
@ -2097,7 +2097,7 @@ proc getMetadata_vx(node: Eth2Node, peer: Peer):
|
|||
{.async: (raises: [CancelledError]).} =
|
||||
let
|
||||
res =
|
||||
if node.cfg.FULU_FORK_EPOCH != FAR_FUTURE_EPOCH:
|
||||
if node.getBeaconTime().slotOrZero.epoch >= node.cfg.FULU_FORK_EPOCH:
|
||||
# Directly fetch fulu metadata if available
|
||||
await getMetadata_v3(peer)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue