Fix exchange double-connect

This commit is contained in:
Marcello Stanisci 2019-01-21 20:06:38 +01:00
parent a1faf5df61
commit 782c8983d6
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -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