merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 463d23df46b630f3dbb8c7edc6723dcdf3960587
parent 2ff9f7fec73aadc1a9c09cb1b2547895eff98191
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 27 Jan 2025 10:04:22 +0100

-do not crash if outdated /keys in cache

Diffstat:
Msrc/backenddb/pg_select_exchange_keys.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/backenddb/pg_select_exchange_keys.c b/src/backenddb/pg_select_exchange_keys.c @@ -61,8 +61,9 @@ TMH_PG_select_exchange_keys (void *cls, json_decref (jkeys); if (NULL == *keys) { + /* malformed /keys in cache, maybe format change. Just ignore */ GNUNET_break (0); - return GNUNET_DB_STATUS_HARD_ERROR; + return GNUNET_DB_STATUS_NO_RESULTS; } return qs; }