cash2ecash

cash2ecash: cash acceptor that issues digital cash (experimental)
Log | Files | Refs | README | LICENSE

commit 5f5f97e08bf3f0fa67eac5a0ad02cfd98dbc6973
parent 17d7ac9f1cdcbc83056e707b82646ac7f7475692
Author: Tellenbach Reto <tellr1@bfh.ch>
Date:   Sun,  7 Jun 2026 20:00:14 +0200

[dbg] State-logic: make state_ctx wopi data persistant

Diffstat:
Msrc/taler-digitizer.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/taler-digitizer.c b/src/taler-digitizer.c @@ -471,7 +471,8 @@ on_post_accounts_withdrawal_done(void *cls, (void) cls; post_accounts_withdrawal_handle = NULL; - state_ctx->wi = vr->details.ok.wopd; + state_ctx->wi.taler_withdraw_uri = GNUNET_strdup(vr->details.ok.wopd.taler_withdraw_uri); + state_ctx->wi.withdrawal_id = GNUNET_strdup(vr->details.ok.wopd.withdrawal_id); state = DIGITIZER_STATE_SCAN_QR; GNUNET_SCHEDULER_add_now(state_controller_task,NULL);