diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-19 16:07:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-19 16:07:34 +0200 |
commit | 92e6744ac032a3c4c4118ac6b251f769c5478aa6 (patch) | |
tree | 9098913719d9b1a70d0ed8d8a0ba8e500c96768a /src/auditor/taler-auditor.c | |
parent | 3d701e8d2a39e766b8345e242c3ffb501f935a3e (diff) | |
download | exchange-92e6744ac032a3c4c4118ac6b251f769c5478aa6.tar.xz |
address #5010 for /refund
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r-- | src/auditor/taler-auditor.c | 9 |
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", |