aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r--src/exchangedb/test_exchangedb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index 66ccb4c79..9e8d29650 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -362,14 +362,13 @@ kcs (void *cls,
uint8_t kyc_checked,
uint64_t merchant_serial_id)
{
-
struct TALER_EXCHANGEDB_Session *session = cls;
struct TALER_Amount amount;
struct TALER_Amount sum;
-
- TALER_amount_get_zero (CURRENCY,
- &amount);
+ GNUNET_assert (GNUNET_OK ==
+ TALER_amount_get_zero (CURRENCY,
+ &amount));
amount.value = 30;
FAILIF
(GNUNET_OK != plugin->insert_kyc_event (NULL,