From 4b82a591c54bec9720181358c8230caa3759363f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 4 Apr 2017 15:38:58 +0200 Subject: handle /payback in auditor when checking reserves --- src/exchangedb/test_exchangedb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/exchangedb/test_exchangedb.c') diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index e8fd2119..49cc6431 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -1205,8 +1205,9 @@ static struct TALER_Amount wire_out_amount; * @param wtid wire transfer subject * @param wire wire transfer details of the receiver * @param amount amount that was wired + * @return #GNUNET_OK to continue, #GNUNET_SYSERR to stop iteration */ -static void +static int audit_wire_cb (void *cls, uint64_t rowid, struct GNUNET_TIME_Absolute date, @@ -1223,6 +1224,7 @@ audit_wire_cb (void *cls, &wire_out_wtid, sizeof (*wtid))); GNUNET_assert (date.abs_value_us == wire_out_date.abs_value_us); + return GNUNET_OK; } -- cgit v1.2.3