gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] branch master updated (78dc26b -> 0a15806)


From: gnunet
Subject: [taler-anastasis] branch master updated (78dc26b -> 0a15806)
Date: Sun, 07 Mar 2021 23:16:51 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a change to branch master
in repository anastasis.

    from 78dc26b  remove bogus transitions
     new c575b47  update state machine
     new 0a15806  wrong state

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/reducer/anastasis_api_redux.c | 35 +++++------------------------------
 1 file changed, 5 insertions(+), 30 deletions(-)

diff --git a/src/reducer/anastasis_api_redux.c 
b/src/reducer/anastasis_api_redux.c
index 10829c8..3d79f89 100644
--- a/src/reducer/anastasis_api_redux.c
+++ b/src/reducer/anastasis_api_redux.c
@@ -1081,31 +1081,6 @@ select_country (json_t *state,
 }
 
 
-/**
- * DispatchHandler/Callback function which is called for a
- * "unselect_country" action.
- *
- * @param state state to operate on
- * @param arguments arguments to use for operation on state
- * @param cb callback to call during/after operation
- * @param cb_cls callback closure
- * @return NULL
- */
-static struct ANASTASIS_ReduxAction *
-unselect_country (json_t *state,
-                  const json_t *arguments,
-                  ANASTASIS_ActionCallback cb,
-                  void *cb_cls)
-{
-  redux_transition (state,
-                    ANASTASIS_GENERIC_STATE_COUNTRY_SELECTING);
-  cb (cb_cls,
-      TALER_EC_NONE,
-      state);
-  return NULL;
-}
-
-
 /**
  * DispatchHandler/Callback function which is called for a
  * "unselect_continent" action.
@@ -1471,6 +1446,11 @@ ANASTASIS_redux_action (const json_t *state,
       "unselect_continent",
       &unselect_continent
     },
+    {
+      ANASTASIS_GENERIC_STATE_COUNTRY_SELECTING,
+      "select_country",
+      &select_country
+    },
     {
       ANASTASIS_GENERIC_STATE_COUNTRY_SELECTING,
       "select_continent",
@@ -1481,11 +1461,6 @@ ANASTASIS_redux_action (const json_t *state,
       "unselect_continent",
       &unselect_continent
     },
-    {
-      ANASTASIS_GENERIC_STATE_COUNTRY_SELECTING,
-      "unselect_country",
-      &unselect_country
-    },
     {
       ANASTASIS_GENERIC_STATE_USER_ATTRIBUTES_COLLECTING,
       "enter_user_attributes",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]