diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-13 19:47:45 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-13 19:47:45 +0100 |
commit | e3a0bc0d1f1d14123b56b041b475c8090d20ec1c (patch) | |
tree | b765a4c2d22baa25c4dd458bd703a3f95b71bbb0 /src/exchangedb/lrbt_callbacks.c | |
parent | 52513dcc2690716bb88cba506088b0422a53eb4a (diff) | |
download | exchange-e3a0bc0d1f1d14123b56b041b475c8090d20ec1c.tar.xz |
fix sync issues, add rudimentary test
Diffstat (limited to 'src/exchangedb/lrbt_callbacks.c')
-rw-r--r-- | src/exchangedb/lrbt_callbacks.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/exchangedb/lrbt_callbacks.c b/src/exchangedb/lrbt_callbacks.c index 35918d7f0..8acc99cdd 100644 --- a/src/exchangedb/lrbt_callbacks.c +++ b/src/exchangedb/lrbt_callbacks.c @@ -436,14 +436,18 @@ lrbt_cb_table_auditor_denom_sigs (void *cls, for (unsigned int i = 0; i<num_results; i++) { struct GNUNET_PQ_ResultSpec rs[] = { - GNUNET_PQ_result_spec_uint64 ("serial", - &td.serial), - GNUNET_PQ_result_spec_uint64 ("denominations_serial", - &td.details.auditor_denom_sigs. - denominations_serial), - GNUNET_PQ_result_spec_auto_from_type ("auditor_sig", - &td.details.auditor_denom_sigs. - auditor_sig), + GNUNET_PQ_result_spec_uint64 ( + "serial", + &td.serial), + GNUNET_PQ_result_spec_uint64 ( + "auditor_uuid", + &td.details.auditor_denom_sigs.auditor_uuid), + GNUNET_PQ_result_spec_uint64 ( + "denominations_serial", + &td.details.auditor_denom_sigs.denominations_serial), + GNUNET_PQ_result_spec_auto_from_type ( + "auditor_sig", + &td.details.auditor_denom_sigs.auditor_sig), GNUNET_PQ_result_spec_end }; @@ -1052,6 +1056,8 @@ lrbt_cb_table_wire_fee (void *cls, struct GNUNET_PQ_ResultSpec rs[] = { GNUNET_PQ_result_spec_uint64 ("serial", &td.serial), + GNUNET_PQ_result_spec_string ("wire_method", + &td.details.wire_fee.wire_method), TALER_PQ_result_spec_absolute_time ("start_date", &td.details.wire_fee.start_date), TALER_PQ_result_spec_absolute_time ("end_date", |