summaryrefslogtreecommitdiff
path: root/src/mint-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-02-07 15:02:49 +0100
committerChristian Grothoff <christian@grothoff.org>2016-02-07 15:02:49 +0100
commitd67011e2b55dbd0e2158c4c144f5092e1593d70a (patch)
treece793ac6c737bf6760062f085610966a257e5cae /src/mint-lib
parent38378f38d7c90c237bb8dbbe6fb4afb0c87f0c9f (diff)
downloadexchange-d67011e2b55dbd0e2158c4c144f5092e1593d70a.tar.gz
exchange-d67011e2b55dbd0e2158c4c144f5092e1593d70a.tar.bz2
exchange-d67011e2b55dbd0e2158c4c144f5092e1593d70a.zip
making mintdb tests pass again after API refactoring to remove total amount
Diffstat (limited to 'src/mint-lib')
-rw-r--r--src/mint-lib/test_mint_api.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c
index e41d01805..b243cc2cf 100644
--- a/src/mint-lib/test_mint_api.c
+++ b/src/mint-lib/test_mint_api.c
@@ -1392,8 +1392,7 @@ deposit_wtid_cb (void *cls,
json_t *json,
const struct TALER_WireTransferIdentifierRawP *wtid,
struct GNUNET_TIME_Absolute execution_time,
- const struct TALER_Amount *coin_contribution,
- const struct TALER_Amount *total_amount)
+ const struct TALER_Amount *coin_contribution)
{
struct InterpreterState *is = cls;
struct Command *cmd = &is->commands[is->ip];
@@ -1413,16 +1412,6 @@ deposit_wtid_cb (void *cls,
{
case MHD_HTTP_OK:
cmd->details.deposit_wtid.wtid = *wtid;
- if (0 != TALER_amount_cmp (total_amount,
- &cmd->details.deposit_wtid.total_amount_expected))
- {
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "Total amount missmatch to command %s\n",
- cmd->label);
- json_dumpf (json, stderr, 0);
- fail (is);
- return;
- }
break;
default:
break;