aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_do_deposit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-11 13:22:15 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-11 13:22:15 +0200
commit3b99f24648f477a2b7afd890657bb2675e211d31 (patch)
tree5c611d850e6d6d31868f17fc37ddfcf875c132d5 /src/exchangedb/pg_do_deposit.c
parente967208e8c01af28e2ebde34c8deea326f09e5e3 (diff)
downloadexchange-3b99f24648f477a2b7afd890657bb2675e211d31.tar.xz
add support for wallet_data_hash in API
Diffstat (limited to 'src/exchangedb/pg_do_deposit.c')
-rw-r--r--src/exchangedb/pg_do_deposit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/pg_do_deposit.c b/src/exchangedb/pg_do_deposit.c
index 3513ba2b5..1e2d1c3c6 100644
--- a/src/exchangedb/pg_do_deposit.c
+++ b/src/exchangedb/pg_do_deposit.c
@@ -50,7 +50,7 @@ TEH_PG_do_deposit (
GNUNET_PQ_query_param_timestamp (&bd->refund_deadline),
GNUNET_PQ_query_param_timestamp (&bd->wire_deadline),
GNUNET_PQ_query_param_auto_from_type (&bd->h_contract_terms),
- (0 == bd->has_wallet_data_hash)
+ (bd->no_wallet_data_hash)
? GNUNET_PQ_query_param_null ()
: GNUNET_PQ_query_param_auto_from_type (&bd->wallet_data_hash),
GNUNET_PQ_query_param_auto_from_type (&bd->wire_salt),