diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-08-21 17:47:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-08-21 17:47:30 +0200 |
commit | d2b7506b5cf5954304f3ae49a9ccea1f1bdd03cc (patch) | |
tree | 74c903f1122fa763cd02610e7ac1b46e84808e1f /src | |
parent | 9ececf6821f7d070bc819fb19ed51810ed4449c0 (diff) |
-fix regression
Diffstat (limited to 'src')
-rw-r--r-- | src/auditor/taler-helper-auditor-aggregation.c | 4 | ||||
-rw-r--r-- | src/exchangedb/pg_get_coin_transactions.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/auditor/taler-helper-auditor-aggregation.c b/src/auditor/taler-helper-auditor-aggregation.c index 0016ffacb..c9b5eee6d 100644 --- a/src/auditor/taler-helper-auditor-aggregation.c +++ b/src/auditor/taler-helper-auditor-aggregation.c @@ -809,8 +809,8 @@ wire_transfer_information_cb ( &h_denom_pub, &tl); } - if ((qs < 0) || - (NULL == tl)) + if ( (qs < 0) || + (NULL == tl) ) { wcc->qs = qs; report_row_inconsistency ("aggregation", diff --git a/src/exchangedb/pg_get_coin_transactions.c b/src/exchangedb/pg_get_coin_transactions.c index 56fb55db3..5a9157dcd 100644 --- a/src/exchangedb/pg_get_coin_transactions.c +++ b/src/exchangedb/pg_get_coin_transactions.c @@ -1133,7 +1133,10 @@ TEH_PG_get_coin_transactions ( return GNUNET_DB_STATUS_SOFT_ERROR; } if (! begin_transaction) + { + *tlp = chc.head; return GNUNET_DB_STATUS_SUCCESS_ONE_RESULT; + } qs = TEH_PG_commit (pg); switch (qs) { |