Fix the build

This commit is contained in:
Zahary Karadjov 2022-04-10 23:10:22 +03:00
parent 992ba8a44d
commit ac4e7723ea
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 1 additions and 1 deletions

View File

@ -1247,7 +1247,7 @@ proc updateState*(
ancestors.add(cur.bid)
if cur.slot == GENESIS_SLOT or
(cur.slot.epoch + EPOCHS_PER_STATE_SNAPSHOT * 2 < startEpoch):
(cur.slot.epoch + uint64(EPOCHS_PER_STATE_SNAPSHOT) * 2 < startEpoch):
# We've either walked two full state snapshot lengths or hit the tail
# and still can't find a matching state: this can happen when
# starting the node from an arbitrary finalized checkpoint and not