commit cd44840c4258a60bd8aa8c6b3d0fa2b6b8920193
parent 2e2a558a59d0e7a25953cddf2afb67b7ab96135c
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 27 Aug 2021 17:56:16 +0200
ensure there is a selected_challenge_uuid in CHALLENGE_SOLVING state
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/reducer/anastasis_api_recovery_redux.c b/src/reducer/anastasis_api_recovery_redux.c
@@ -831,6 +831,9 @@ answer_feedback_cb (
uuid,
reply));
}
+ json_object_set_new (sctx->state,
+ "selected_challenge_uuid",
+ GNUNET_JSON_from_data_auto (&cd->uuid));
set_state (sctx->state,
ANASTASIS_RECOVERY_STATE_CHALLENGE_SOLVING);
sctx->cb (sctx->cb_cls,