commit b20855daf9f6afe14c41880d0d1dc7c25fa3dd5f parent b9899d4cafa8e3a16f235ecad2816f7c397386a1 Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 6 Aug 2026 22:43:35 +0200 out_no_balance is expected to be initalized Diffstat:
| M | src/exchangedb/do_purse_merge.sql | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/exchangedb/do_purse_merge.sql b/src/exchangedb/do_purse_merge.sql @@ -72,6 +72,10 @@ ELSE THEN out_no_partner=TRUE; out_conflict=FALSE; + -- Must be assigned: the C result spec reads it without allow_null, so + -- leaving it NULL turns the 404 the handler has ready for an unknown + -- partner into a failed extraction and an HTTP 500. + out_no_balance=FALSE; RETURN; END IF; END IF;