diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-10-12 22:10:00 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-10-12 22:10:00 +0200 |
commit | 0cd18a0f8f2545eb1212c504683a8a70007caa48 (patch) | |
tree | b0b484085308961f44622c319209792589c21543 /src/bank-lib/bank_api_credit.c | |
parent | 5b1fc2a9765465cf374b2feb7419a0e5200e4411 (diff) | |
download | exchange-0cd18a0f8f2545eb1212c504683a8a70007caa48.tar.gz exchange-0cd18a0f8f2545eb1212c504683a8a70007caa48.tar.bz2 exchange-0cd18a0f8f2545eb1212c504683a8a70007caa48.zip |
clean up bank API, get test_bank_api_with_nexus to finally pass
Diffstat (limited to 'src/bank-lib/bank_api_credit.c')
-rw-r--r-- | src/bank-lib/bank_api_credit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bank-lib/bank_api_credit.c b/src/bank-lib/bank_api_credit.c index 9ed8a2314..124415b80 100644 --- a/src/bank-lib/bank_api_credit.c +++ b/src/bank-lib/bank_api_credit.c @@ -83,12 +83,11 @@ parse_account_history (struct TALER_BANK_CreditHistoryHandle *hh, .response = history }; const json_t *history_array; - const char *credit_account_uri; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_array_const ("incoming_transactions", &history_array), GNUNET_JSON_spec_string ("credit_account", - &credit_account_uri), + &chr.details.ok.credit_account_uri), GNUNET_JSON_spec_end () }; @@ -134,7 +133,6 @@ parse_account_history (struct TALER_BANK_CreditHistoryHandle *hh, GNUNET_break_op (0); return GNUNET_SYSERR; } - td->credit_account_uri = credit_account_uri; } chr.details.ok.details_length = len; chr.details.ok.details = cd; |