summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-wirewatch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index e45b42437..652b34645 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -306,6 +306,9 @@ history_cb (void *cls,
enum GNUNET_DB_QueryStatus qs;
struct TALER_ReservePublicKeyP reserve_pub;
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Got history callback, direction %u!\n", (unsigned int) dir);
+
if (TALER_BANK_DIRECTION_NONE == dir)
{
hh = NULL;
@@ -353,6 +356,7 @@ history_cb (void *cls,
{
GNUNET_free_non_null (last_row_off);
last_row_off = GNUNET_malloc (row_off_size);
+ last_row_off_size = row_off_size;
}
memcpy (last_row_off,
row_off,
@@ -472,6 +476,7 @@ find_transfers (void *cls)
return;
}
}
+ GNUNET_assert ((NULL == start_off) || ((NULL != start_off) && (start_off_size != 0)));
delay = GNUNET_YES;
hh = wire_plugin->get_history (wire_plugin->cls,
TALER_BANK_DIRECTION_CREDIT,