From 44e9f77ce311f5ef870a9760bde7319bb2c016eb Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 18 Aug 2022 16:19:38 -0400 Subject: [PATCH] make linter happy --- abci/cmd/abci-cli/abci-cli.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/abci/cmd/abci-cli/abci-cli.go b/abci/cmd/abci-cli/abci-cli.go index 16b210709..e8de62d10 100644 --- a/abci/cmd/abci-cli/abci-cli.go +++ b/abci/cmd/abci-cli/abci-cli.go @@ -2,7 +2,6 @@ package main import ( "bufio" - "bytes" "encoding/hex" "errors" "fmt" @@ -607,16 +606,6 @@ func cmdQuery(cmd *cobra.Command, args []string) error { return nil } -func inTxArray(txByteArray [][]byte, tx []byte) bool { - for _, txTmp := range txByteArray { - if bytes.Equal(txTmp, tx) { - return true - } - - } - return false -} - func cmdPrepareProposal(cmd *cobra.Command, args []string) error { txsBytesArray := make([][]byte, len(args))