From 566ad4f0b5972b8183e4bc52f26f1cff6fa1c742 Mon Sep 17 00:00:00 2001
From: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 2 Jul 2018 11:49:44 +0200
Subject: [PATCH] polish track CMD

---
 src/exchange-lib/testing_api_cmd_track.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/exchange-lib/testing_api_cmd_track.c b/src/exchange-lib/testing_api_cmd_track.c
index 789b30b9b..60f412c8b 100644
--- a/src/exchange-lib/testing_api_cmd_track.c
+++ b/src/exchange-lib/testing_api_cmd_track.c
@@ -520,7 +520,6 @@ track_transfer_cb
   struct TALER_TESTING_Interpreter *is = tts->is;
   struct TALER_TESTING_Command *cmd = &is->commands[is->ip];
 
-  const struct TALER_TESTING_Command *wtid_cmd;
   struct TALER_Amount expected_amount;
 
   tts->tth = NULL;
@@ -588,17 +587,6 @@ track_transfer_cb
       return;
     }
 
-    /* FIXME: this block does nothing.  Remove?  */
-    wtid_cmd = TALER_TESTING_interpreter_lookup_command
-      (is, tts->wtid_reference);
-
-    if (NULL == wtid_cmd)
-    {
-      GNUNET_break (0);
-      TALER_TESTING_interpreter_fail (is);
-      return;
-    }
-
     /**
      * Optionally checking: (1) wire-details for this transfer
      * match the ones from a referenced "deposit" operation -