commit 782c8983d6812066820573092ffa29250714cc63
parent a1faf5df612a960f2949db30f64ff8c4e5e50deb
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 21 Jan 2019 20:06:38 +0100
Fix exchange double-connect
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lib/testing_api_cmd_serialize_keys.c b/src/lib/testing_api_cmd_serialize_keys.c
@@ -174,11 +174,13 @@ connect_with_state_run (void *cls,
const json_t *serialized_keys;
const char *exchange_url;
-
/* This command usually gets rescheduled after serialized
* reconnection. */
if (GNUNET_YES == cwss->consumed)
+ {
TALER_TESTING_interpreter_next (is);
+ return;
+ }
cwss->is = is;
state_cmd = TALER_TESTING_interpreter_lookup_command