From b574db1c89600705631ea7f592d2ee371314e53d Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Sat, 7 Jun 2025 04:37:55 +0300 Subject: [PATCH] add the pool_set node that stores the selected pool as the default --- services/registration/pool_set | 1 + services/registration/pool_set.vis | 10 ++++++++++ services/registration/pool_set_swa | 1 + 3 files changed, 12 insertions(+) create mode 100644 services/registration/pool_set create mode 100644 services/registration/pool_set.vis create mode 100644 services/registration/pool_set_swa diff --git a/services/registration/pool_set b/services/registration/pool_set new file mode 100644 index 0000000..b5ec2f3 --- /dev/null +++ b/services/registration/pool_set @@ -0,0 +1 @@ +Success! {{.set_pool}} is now your active pool. \ No newline at end of file diff --git a/services/registration/pool_set.vis b/services/registration/pool_set.vis new file mode 100644 index 0000000..5c7b532 --- /dev/null +++ b/services/registration/pool_set.vis @@ -0,0 +1,10 @@ +LOAD reset_incorrect_pin 6 +CATCH _ flag_account_authorized 0 +LOAD set_pool 20 +MAP set_pool +MOUT back 0 +MOUT quit 9 +HALT +INCMP ^ 0 +INCMP quit 9 +INCMP ^ * diff --git a/services/registration/pool_set_swa b/services/registration/pool_set_swa new file mode 100644 index 0000000..3c527f6 --- /dev/null +++ b/services/registration/pool_set_swa @@ -0,0 +1 @@ +Hongera! {{.set_pool}} ni bwawa la Sarafu linalotumika sasa. \ No newline at end of file