From 918b4e2b6b699b77e4c426a75bae05e9cd5f919c Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Fri, 19 Jan 2024 18:35:53 +0100 Subject: [PATCH] Restore the lost acceptance message --- terms_of_service/acceptance_message.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/terms_of_service/acceptance_message.py b/terms_of_service/acceptance_message.py index 9293d65..9167516 100644 --- a/terms_of_service/acceptance_message.py +++ b/terms_of_service/acceptance_message.py @@ -13,6 +13,12 @@ from eth_account.messages import encode_defunct, _hash_eip191_message from eth_account.signers.local import LocalAccount +DEFAULT_ACCEPTANCE_MESSAGE_TEMPLATE = """ +I read and agree on terms of service (version {version}) to use +smart contract software deployed on a blockchain. +The terms of service text was published {human_date} at {link}. +The unique identifier hash for this terms of service text was {hash}. +""".strip() INITIAL_ACCEPTANCE_MESSAGE = """ I read and agree on terms of service (version 1) to use