aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-10-15 10:43:26 +0200
committerChristian Grothoff <christian@grothoff.org>2022-10-15 10:43:26 +0200
commiteebc030f6cf61d36b80e3273709fd9f254b155c3 (patch)
treef7e8c80b8aeabdc9067841da0b7be32a367a51f2 /src/exchangedb/plugin_exchangedb_common.c
parent5f333f817c0fe4d66d1223833f8b8f7f22ad174c (diff)
downloadexchange-eebc030f6cf61d36b80e3273709fd9f254b155c3.tar.xz
add logic to return information about purse refunds in coin histories
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_common.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_common.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_common.c b/src/exchangedb/plugin_exchangedb_common.c
index 84198dddf..a0159fb86 100644
--- a/src/exchangedb/plugin_exchangedb_common.c
+++ b/src/exchangedb/plugin_exchangedb_common.c
@@ -152,6 +152,14 @@ TEH_COMMON_free_coin_transaction_list (
GNUNET_free (deposit);
break;
}
+ case TALER_EXCHANGEDB_TT_PURSE_REFUND:
+ {
+ struct TALER_EXCHANGEDB_PurseRefundListEntry *prefund;
+
+ prefund = tl->details.purse_refund;
+ GNUNET_free (prefund);
+ break;
+ }
case TALER_EXCHANGEDB_TT_RESERVE_OPEN:
{
struct TALER_EXCHANGEDB_ReserveOpenListEntry *role;