commit 4a72063112931a95520b81e157209bdf82b7e95d parent a677f34d3be0b4202b622bbef999bb220d3bc760 Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 12 Oct 2026 23:58:16 +0200 check fee matches Diffstat:
| M | src/lib/exchange_api_get-reserves-RESERVE_PUB-history.c | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/lib/exchange_api_get-reserves-RESERVE_PUB-history.c b/src/lib/exchange_api_get-reserves-RESERVE_PUB-history.c @@ -379,6 +379,9 @@ parse_withdraw (struct TALER_EXCHANGE_ReserveHistoryEntry *rh, TALER_amount_cmp_currency (&fee_acc, &withdraw_fee)) || (0 != + TALER_amount_cmp (&fee_acc, + &withdraw_fee)) || + (0 != TALER_amount_cmp (&amount_acc, &amount_without_fee)) ) {