aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-07-17 15:15:54 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:46 +0200
commit9f1f96bd724224dee565551ca2efd9e60bd6f8ec (patch)
treead9f2e0a98fea05b5fb5f4584450382854f97724 /src/bank-lib
parentb6e1a74a413949268a76766e5ba49263f59d6c44 (diff)
-work on tests
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/bank_api_credit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bank-lib/bank_api_credit.c b/src/bank-lib/bank_api_credit.c
index ebcdb56cc..29becbfa9 100644
--- a/src/bank-lib/bank_api_credit.c
+++ b/src/bank-lib/bank_api_credit.c
@@ -152,6 +152,7 @@ parse_account_history (struct TALER_BANK_CreditHistoryHandle *hh,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
+ td->type = TALER_BANK_CT_RESERVE;
}
else if (0 == strcasecmp ("KYCAUTH",
type))
@@ -171,6 +172,7 @@ parse_account_history (struct TALER_BANK_CreditHistoryHandle *hh,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
+ td->type = TALER_BANK_CT_KYCAUTH;
}
else if (0 == strcasecmp ("WAD",
type))
@@ -192,6 +194,7 @@ parse_account_history (struct TALER_BANK_CreditHistoryHandle *hh,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
+ td->type = TALER_BANK_CT_WAD;
}
else
{