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/exchangedb/pg_get_coin_transactions.c | |
parent | 9ececf6821f7d070bc819fb19ed51810ed4449c0 (diff) | |
download | exchange-d2b7506b5cf5954304f3ae49a9ccea1f1bdd03cc.tar.xz |
-fix regression
Diffstat (limited to 'src/exchangedb/pg_get_coin_transactions.c')
-rw-r--r-- | src/exchangedb/pg_get_coin_transactions.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |