diff options
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) { |