aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/crypto_test.go')
-rw-r--r--crypto/crypto_test.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go
index f42605d32..d4d309849 100644
--- a/crypto/crypto_test.go
+++ b/crypto/crypto_test.go
@@ -72,14 +72,6 @@ func BenchmarkSha3(b *testing.B) {
fmt.Println(amount, ":", time.Since(start))
}
-func Test0Key(t *testing.T) {
- key := common.Hex2Bytes("0000000000000000000000000000000000000000000000000000000000000000")
- _, err := secp256k1.GeneratePubKey(key)
- if err == nil {
- t.Errorf("expected error due to zero privkey")
- }
-}
-
func TestSign(t *testing.T) {
key, _ := HexToECDSA(testPrivHex)
addr := common.HexToAddress(testAddrHex)