diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-28 23:18:40 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-28 23:18:40 +0100 |
commit | e24a6369aae5c2ab6ccec4ecdd269a280078f790 (patch) | |
tree | a771278300d1aafc77f95afed32d2837c099bbfe /src/exchangedb/irbt_callbacks.c | |
parent | a8d9e7e0a61cd9f23371d09bec244a6e11683efc (diff) | |
download | exchange-e24a6369aae5c2ab6ccec4ecdd269a280078f790.tar.gz exchange-e24a6369aae5c2ab6ccec4ecdd269a280078f790.tar.bz2 exchange-e24a6369aae5c2ab6ccec4ecdd269a280078f790.zip |
test-sync passes again
Diffstat (limited to 'src/exchangedb/irbt_callbacks.c')
-rw-r--r-- | src/exchangedb/irbt_callbacks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchangedb/irbt_callbacks.c b/src/exchangedb/irbt_callbacks.c index a994c611b..97ce2c094 100644 --- a/src/exchangedb/irbt_callbacks.c +++ b/src/exchangedb/irbt_callbacks.c @@ -115,12 +115,15 @@ irbt_cb_table_wire_targets (struct PostgresClosure *pg, { struct TALER_PaytoHashP payto_hash; struct GNUNET_PQ_QueryParam params[] = { + GNUNET_PQ_query_param_uint64 (&td->serial), GNUNET_PQ_query_param_auto_from_type (&payto_hash), GNUNET_PQ_query_param_string ( td->details.wire_targets.payto_uri), GNUNET_PQ_query_param_auto_from_type ( &td->details.wire_targets.kyc_ok), - GNUNET_PQ_query_param_string ( + NULL == td->details.wire_targets.external_id + ? GNUNET_PQ_query_param_null () + : GNUNET_PQ_query_param_string ( td->details.wire_targets.external_id), GNUNET_PQ_query_param_end }; |