crypto/ecies: remove useless -dump flag in tests

This commit is contained in:
Felix Lange 2019-09-11 13:20:47 +02:00
parent a7cb0c5ab0
commit 5b60f144c1

View file

@ -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")