commit 15f3961eb0c633896a8d3b0db8a38b1ec76099a8
parent 3ee6b65a8e29c4675fff5c10d5f258c27aff051c
Author: Antoine A <>
Date: Tue, 21 Oct 2025 15:49:37 +0200
nexus: less logging noise
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/database-versioning/libeufin-nexus-procedures.sql b/database-versioning/libeufin-nexus-procedures.sql
@@ -135,7 +135,7 @@ out_initiated=FOUND;
IF out_initiated AND NOT out_found THEN
-- Check metadata
-- TODO take subject if missing and more detailed credit payto
- IF local_subject IS DISTINCT FROM in_subject THEN
+ IF in_subject IS NOT NULL AND local_subject != in_subject THEN
RAISE NOTICE 'outgoing tx %: initiated subject is ''%'' got ''%''', in_end_to_end_id, local_subject, in_subject;
END IF;
IF local_credit_payto IS DISTINCT FROM in_credit_payto THEN
@@ -144,10 +144,10 @@ IF out_initiated AND NOT out_found THEN
IF local_amount IS DISTINCT FROM in_amount THEN
RAISE NOTICE 'outgoing tx %: initiated amount is % got %', in_end_to_end_id, local_amount, in_amount;
END IF;
- IF local_wtid IS DISTINCT FROM in_wtid THEN
+ IF in_wtid IS NOT NULL AND local_wtid != in_wtid THEN
RAISE NOTICE 'outgoing tx %: initiated wtid is % got %', in_end_to_end_id, local_wtid, in_wtid;
END IF;
- IF local_exchange_base_url IS DISTINCT FROM in_exchange_url THEN
+ IF in_exchange_url IS NOT NULL AND local_exchange_base_url != in_exchange_url THEN
RAISE NOTICE 'outgoing tx %: initiated exchange base url is % got %', in_end_to_end_id, local_exchange_base_url, in_exchange_url;
END IF;
END IF;