From d67011e2b55dbd0e2158c4c144f5092e1593d70a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 7 Feb 2016 15:02:49 +0100 Subject: making mintdb tests pass again after API refactoring to remove total amount --- src/mint-lib/test_mint_api.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/mint-lib/test_mint_api.c') diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c index e41d0180..b243cc2c 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; -- cgit v1.2.3