exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 6274aa34d39eadf376b1014d06a4fcb246978e4e
parent 2859dbe5e32091908eb093a1f750df7fb6761b5f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 17 Nov 2016 15:17:27 +0100

need to initialize reserve_pub first

Diffstat:
Msrc/auditor/taler-auditor.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c @@ -225,12 +225,17 @@ verify_reserve_balance (void *cls, struct TALER_EXCHANGEDB_Reserve reserve; struct TALER_Amount balance; + reserve.pub = rs->reserve_pub; if (GNUNET_OK != edb->reserve_get (edb->cls, esession, &reserve)) { GNUNET_break (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Failed to find summary for reserve `%s'\n", + TALER_B2S (&rs->reserve_pub)); + return GNUNET_OK; } /* TODO: check reserve.expiry? */