aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-17 15:17:27 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-17 15:17:27 +0100
commit6274aa34d39eadf376b1014d06a4fcb246978e4e (patch)
tree413fe46a5a89b725c4822ecb922c687b4a70b318 /src
parent2859dbe5e32091908eb093a1f750df7fb6761b5f (diff)
need to initialize reserve_pub first
Diffstat (limited to 'src')
-rw-r--r--src/auditor/taler-auditor.c5
1 files changed, 5 insertions, 0 deletions
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? */