From 6274aa34d39eadf376b1014d06a4fcb246978e4e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 17 Nov 2016 15:17:27 +0100 Subject: need to initialize reserve_pub first --- src/auditor/taler-auditor.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/auditor/taler-auditor.c') diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index 7e26fab1d..a00747e5d 100644 --- 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? */ -- cgit v1.2.3