Skip to content

Commit

Permalink
small syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin100 authored and dorin100 committed Feb 19, 2021
1 parent ea81208 commit a13eec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync_tests/sync_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def date_diff_in_seconds(dt2, dt1):

def get_calculated_slot_no(env):
current_time = datetime.utcnow()
shelley_start_time, byron_start_time, allegra_start_time, mary_start_time, alonzo_start_time = current_time
shelley_start_time = byron_start_time = allegra_start_time = mary_start_time = current_time

if env == "testnet":
byron_start_time = datetime.strptime("2019-07-24 20:20:16", "%Y-%m-%d %H:%M:%S")
Expand Down

0 comments on commit a13eec6

Please sign in to comment.