From f39b4c2cbd0ab5fefcc4173e2078709f3746502f Mon Sep 17 00:00:00 2001 From: wubinTron Date: Thu, 13 Feb 2020 00:03:20 +0800 Subject: [PATCH] remove duplicate function --- .../trongeventquery/contractevents/ContractEventController.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/tron/trongeventquery/contractevents/ContractEventController.java b/src/main/java/org/tron/trongeventquery/contractevents/ContractEventController.java index 7d4f9a7..89521f9 100644 --- a/src/main/java/org/tron/trongeventquery/contractevents/ContractEventController.java +++ b/src/main/java/org/tron/trongeventquery/contractevents/ContractEventController.java @@ -62,7 +62,6 @@ public List events( @RequestParam(value = "sort", required = false, defaultValue = "-timeStamp") String sort, @RequestParam(value = "start", required = false, defaultValue = "0") int start ) { - QueryFactory query = new QueryFactory(); if (blocknum != -1) { query.setBlockNumGte(blocknum);