aboutsummaryrefslogtreecommitdiff
path: root/src/auditor
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-19 16:07:34 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-19 16:07:34 +0200
commit92e6744ac032a3c4c4118ac6b251f769c5478aa6 (patch)
tree9098913719d9b1a70d0ed8d8a0ba8e500c96768a /src/auditor
parent3d701e8d2a39e766b8345e242c3ffb501f935a3e (diff)
address #5010 for /refund
Diffstat (limited to 'src/auditor')
-rw-r--r--src/auditor/taler-auditor.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 0d7d0b01a..21c9579cd 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -1864,12 +1864,15 @@ wire_transfer_information_cb (void *cls,
struct TALER_Amount coin_value_without_fee;
struct TALER_EXCHANGEDB_TransactionList *tl;
const struct TALER_CoinPublicInfo *coin;
+ enum GNUNET_DB_QueryStatus qs;
/* Obtain coin's transaction history */
- tl = edb->get_coin_transactions (edb->cls,
+ qs = edb->get_coin_transactions (edb->cls,
esession,
- coin_pub);
- if (NULL == tl)
+ coin_pub,
+ &tl);
+ if ( (qs < 0) ||
+ (NULL == tl) )
{
wcc->ok = GNUNET_SYSERR;
report_row_inconsistency ("aggregation",