From 77ceab5d85cb633e36a0acfde8177bdda2e9583c Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Wed, 22 Sep 2021 09:51:21 +0500 Subject: [PATCH] Remove unnecessary tests --- src/config/config_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/config/config_test.go b/src/config/config_test.go index f534d130..8b6e14e1 100644 --- a/src/config/config_test.go +++ b/src/config/config_test.go @@ -8,15 +8,6 @@ import ( func TestConfig_Keys(t *testing.T) { var nodeConfig NodeConfig - - if nodeConfig.PublicKey != "" { - t.Fatal("public key is not empty by default") - } - - if nodeConfig.PrivateKey != "" { - t.Fatal("private key is not empty by default") - } - nodeConfig.NewKeys() publicKey1, err := hex.DecodeString(nodeConfig.PublicKey)