diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-11-09 14:11:38 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-11-09 14:11:38 +0100 |
commit | 5ebc9d465458541f28b3673620a172a4a7fb24c2 (patch) | |
tree | aef697c2918bb20ae8b63d03764f11ed36ee8734 /src/testing/testing_api_cmd_coin_history.c | |
parent | e18e0809b7657688c8301632f3e803686610fa6f (diff) | |
download | exchange-5ebc9d465458541f28b3673620a172a4a7fb24c2.tar.xz |
-more work on coin history testing
Diffstat (limited to 'src/testing/testing_api_cmd_coin_history.c')
-rw-r--r-- | src/testing/testing_api_cmd_coin_history.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_coin_history.c b/src/testing/testing_api_cmd_coin_history.c index d4b95fb48..38905b353 100644 --- a/src/testing/testing_api_cmd_coin_history.c +++ b/src/testing/testing_api_cmd_coin_history.c @@ -132,9 +132,12 @@ history_entry_cmp ( return 1; return 0; case TALER_EXCHANGE_CTT_MELT: - if (0 != GNUNET_memcmp (&h1->details.melt.sig, - &h2->details.melt.sig)) + if (0 != GNUNET_memcmp (&h1->details.melt.h_age_commitment, + &h2->details.melt.h_age_commitment)) return 1; + /* Note: most other fields are not initialized + in the trait as they are hard to extract from + the API */ return 0; case TALER_EXCHANGE_CTT_REFUND: if (0 != GNUNET_memcmp (&h1->details.refund.sig, |