diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-07-21 20:15:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-07-21 20:15:11 +0200 |
commit | 721c1ee73e1ee65ab9a246456ef4acce3e2338f5 (patch) | |
tree | 0529603b8b6bf2ac3043af3d64e7cd0705f138d9 /src/exchangedb/plugin_exchangedb_common.c | |
parent | bafe0c772a7b93934ff2d3797dcd4d9993764d16 (diff) |
extending postgres plugin with functions required to store payback data on refreshed coins for #5777
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_common.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_common.c b/src/exchangedb/plugin_exchangedb_common.c index fd2620c7b..4a72f5460 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; |