From 721c1ee73e1ee65ab9a246456ef4acce3e2338f5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 21 Jul 2019 20:15:11 +0200 Subject: extending postgres plugin with functions required to store payback data on refreshed coins for #5777 --- src/exchangedb/plugin_exchangedb_common.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/exchangedb/plugin_exchangedb_common.c') diff --git a/src/exchangedb/plugin_exchangedb_common.c b/src/exchangedb/plugin_exchangedb_common.c index fd2620c7..4a72f546 100644 --- a/src/exchangedb/plugin_exchangedb_common.c +++ b/src/exchangedb/plugin_exchangedb_common.c @@ -99,6 +99,9 @@ common_free_coin_transaction_list (void *cls, GNUNET_CRYPTO_rsa_signature_free (list->details.melt->session.coin.denom_sig.rsa_signature); GNUNET_free (list->details.melt); break; + case TALER_EXCHANGEDB_TT_OLD_COIN_PAYBACK: + GNUNET_free (list->details.old_coin_payback); + break; case TALER_EXCHANGEDB_TT_REFUND: if (NULL != list->details.refund->coin.denom_sig.rsa_signature) GNUNET_CRYPTO_rsa_signature_free (list->details.refund->coin.denom_sig.rsa_signature); @@ -109,6 +112,9 @@ common_free_coin_transaction_list (void *cls, GNUNET_CRYPTO_rsa_signature_free (list->details.payback->coin.denom_sig.rsa_signature); GNUNET_free (list->details.payback); break; + case TALER_EXCHANGEDB_TT_PAYBACK_REFRESH: + GNUNET_free (list->details.payback_refresh); + break; } GNUNET_free (list); list = next; -- cgit v1.2.3