From 5b60f144c1a9d4fe4c76bf967aaae333080f71ac Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 11 Sep 2019 13:20:47 +0200 Subject: [PATCH] crypto/ecies: remove useless -dump flag in tests --- crypto/ecies/ecies_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/crypto/ecies/ecies_test.go b/crypto/ecies/ecies_test.go index 2836b81260..2def505d0c 100644 --- a/crypto/ecies/ecies_test.go +++ b/crypto/ecies/ecies_test.go @@ -35,7 +35,6 @@ import ( "crypto/rand" "crypto/sha256" "encoding/hex" - "flag" "fmt" "math/big" "testing" @@ -43,14 +42,6 @@ import ( "github.com/ethereum/go-ethereum/crypto" ) -var dumpEnc bool - -func init() { - flDump := flag.Bool("dump", false, "write encrypted test message to file") - flag.Parse() - dumpEnc = *flDump -} - // Ensure the KDF generates appropriately sized keys. func TestKDF(t *testing.T) { msg := []byte("Hello, world")