Skip to content

Commit

Permalink
fix: zero based indexing for epoch numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
gosuto-inzasheru committed Feb 19, 2025
1 parent 2bdfb36 commit 1ece491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/python/gen_merkl_airdrops.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
while ts < int(datetime.now().timestamp()):
EPOCHS.append(ts)
ts += EPOCH_DURATION
epoch_name = f"epoch_{len(EPOCHS)}"
epoch_name = f"epoch_{len(EPOCHS) - 1}"
print("epochs:", EPOCHS)
print(epoch_name)

Expand Down

0 comments on commit 1ece491

Please sign in to comment.