From 648428cac106415a045676cfd79e8cb75929a9d1 Mon Sep 17 00:00:00 2001 From: Buck Perley Date: Wed, 11 May 2022 11:46:55 -0500 Subject: [PATCH 1/2] standardizing quorum notation --- hermit/shards/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermit/shards/interface.py b/hermit/shards/interface.py index 18dc46f..5c357f0 100644 --- a/hermit/shards/interface.py +++ b/hermit/shards/interface.py @@ -221,7 +221,7 @@ def enter_group_information(self) -> Tuple[int, List[Tuple[int, int]]]: HTML( """ Each of the Q groups is itself broken into m shards, n of which are -required to unlock the group (n of m shards). +required to unlock the group (m of n shards). Unlocking the wallet requires unlocking P groups and unlocking each group requires unlocking n shards for that group. @@ -235,7 +235,7 @@ def enter_group_information(self) -> Tuple[int, List[Tuple[int, int]]]: ) ) input_error_message = HTML( - "Please enter a shard configuration in the form 'n of m' where n and m are small integers." + "Please enter a shard configuration in the form 'm of n' where n and m are small integers." ) while True: try: From a4e2f6e0f05868fad34afbca47e2c4efcd20067f Mon Sep 17 00:00:00 2001 From: Buck Perley Date: Wed, 11 May 2022 11:52:56 -0500 Subject: [PATCH 2/2] uniform substitution --- hermit/shards/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hermit/shards/interface.py b/hermit/shards/interface.py index 5c357f0..ecb81fa 100644 --- a/hermit/shards/interface.py +++ b/hermit/shards/interface.py @@ -220,7 +220,7 @@ def enter_group_information(self) -> Tuple[int, List[Tuple[int, int]]]: print_formatted_text( HTML( """ -Each of the Q groups is itself broken into m shards, n of which are +Each of the Q groups is itself broken into n shards, m of which are required to unlock the group (m of n shards). Unlocking the wallet requires unlocking P groups and unlocking each