Skip to content

Commit

Permalink
set new protocol date, do not confirm when passed, fix #701 (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem authored Jun 28, 2024
1 parent 091d406 commit 0a666c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
REQUIREMENTS_FILE_PATH = "requirements.txt"

# potentially the next upgrade
NEW_PROTOCOL_DATE = date(2024, 6, 30)
NEW_PROTOCOL_NAME = "P_______"
NEW_PROTOCOL_DATE = date(2024, 12, 31)
NEW_PROTOCOL_NAME = "Q"

LOCAL_HOST = "127.0.0.1"
EXIT_PAYMENT_TYPE = "exit"
Expand Down
5 changes: 1 addition & 4 deletions src/launch_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ def new_protocol_not_live(args=None):
"or accept of the risks of using this branch".format(NEW_PROTOCOL_NAME)
)
)
print("Do you want to continue using this branch? (y/N)")
value = input().lower()
if not value or value == "n":
return False
return True
else:
print(("... protocol {} not live yet. OK!").format(NEW_PROTOCOL_NAME))
return True
Expand Down

0 comments on commit 0a666c3

Please sign in to comment.