Skip to content

Commit ac4e772

Browse files
committed
Fix the build
1 parent 992ba8a commit ac4e772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/consensus_object_pools/blockchain_dag.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ proc updateState*(
12471247
ancestors.add(cur.bid)
12481248

12491249
if cur.slot == GENESIS_SLOT or
1250-
(cur.slot.epoch + EPOCHS_PER_STATE_SNAPSHOT * 2 < startEpoch):
1250+
(cur.slot.epoch + uint64(EPOCHS_PER_STATE_SNAPSHOT) * 2 < startEpoch):
12511251
# We've either walked two full state snapshot lengths or hit the tail
12521252
# and still can't find a matching state: this can happen when
12531253
# starting the node from an arbitrary finalized checkpoint and not

0 commit comments

Comments
 (0)