cash2ecash

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

commit e411f67433829c7fa24d86aba66d9fb5cc9a533a
parent b459b5caed1a99f4e763d49e6940777a0ea72c32
Author: Manuel Geissbühler <manuel@debian>
Date:   Thu,  2 Jan 2025 20:21:48 +0100

debugging

Diffstat:
Msrc/cash2ecash.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/cash2ecash.cpp b/src/cash2ecash.cpp @@ -85,6 +85,7 @@ void actionEventFinishCashin(){ static struct TALER_Amount confirmedAmount; TALER_string_to_amount("KUDOS:2.0", &confirmedAmount); bankCommunication.withdrawalConfirmRequest(withdrawal_id, &confirmedAmount); + gui.setActiveScreen(screenWelcome); } void actionEventSleep() { std::cout << "Action Event xx called" << std::endl; } @@ -100,6 +101,7 @@ void actionEventIdentificationSuccess(){ void actionEventBankTokenDone(){ std::cout << "Action Event Bank Token Done called" << std::endl; static struct TALER_Amount amountZero; + amountZero.fraction = 100000; TALER_amount_set_zero("KUDOS", &amountZero); bankCommunication.withdrawalRequest(&amountZero, NULL, &withdrawal_id, &taler_withdraw_uri); }