summaryrefslogtreecommitdiff
path: root/src/exchangedb/pg_do_deposit.c
diff options
context:
space:
mode:
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),