diff options
Diffstat (limited to 'src/exchangedb/pg_insert_aml_decision.c')
-rw-r--r-- | src/exchangedb/pg_insert_aml_decision.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchangedb/pg_insert_aml_decision.c b/src/exchangedb/pg_insert_aml_decision.c index d86bbbb2b..26fa329e8 100644 --- a/src/exchangedb/pg_insert_aml_decision.c +++ b/src/exchangedb/pg_insert_aml_decision.c @@ -96,8 +96,9 @@ TEH_PG_insert_aml_decision ( }; enum GNUNET_DB_QueryStatus qs; - TALER_full_payto_hash (payto_uri, - &h_full_payto); + if (NULL != payto_uri.full_payto) + TALER_full_payto_hash (payto_uri, + &h_full_payto); PREPARE (pg, "do_insert_aml_decision", "SELECT" |