update unit tests

This commit is contained in:
Federico Kunze
2018-11-16 15:10:02 +01:00
parent e65d18643e
commit 1a7f9dac75
2 changed files with 45 additions and 51 deletions
-5
View File
@@ -178,11 +178,6 @@ func SearchTxRequestHandlerFn(cliCtx context.CLIContext, cdc *codec.Codec) http.
return
}
if len(txs) == 0 {
utils.PostProcessResponse(w, cdc, "[]", cliCtx.Indent)
return
}
utils.PostProcessResponse(w, cdc, txs, cliCtx.Indent)
}
}