diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:52:01 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-08 23:52:01 +0200 |
commit | 84a40be0bce66cda800de7891f758a0c69afc7fa (patch) | |
tree | aff8ee61032353024cf1a8429f0804162f81085a /src/lib/exchange_api_melt.c | |
parent | 1554cc310d450ee5cfbf3afd947ed8a063043254 (diff) | |
download | exchange-84a40be0bce66cda800de7891f758a0c69afc7fa.tar.xz |
fix #6170 and rest of #6164
Diffstat (limited to 'src/lib/exchange_api_melt.c')
-rw-r--r-- | src/lib/exchange_api_melt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_melt.c b/src/lib/exchange_api_melt.c index 0217757b0..f89036e40 100644 --- a/src/lib/exchange_api_melt.c +++ b/src/lib/exchange_api_melt.c @@ -227,7 +227,7 @@ verify_melt_signature_conflict (struct TALER_EXCHANGE_MeltHandle *mh, json_decref (history); /* check if melt operation was really too expensive given history */ - if (GNUNET_OK != + if (0 > TALER_amount_add (&total, &total, &melt_value_with_fee)) |