Remove unnecessary tests

This commit is contained in:
Alex Kotov 2021-09-22 09:51:21 +05:00
parent 766c322958
commit 77ceab5d85
No known key found for this signature in database
GPG key ID: 553C0EBBEB5D5F08

View file

@ -8,15 +8,6 @@ import (
func TestConfig_Keys(t *testing.T) { func TestConfig_Keys(t *testing.T) {
var nodeConfig NodeConfig 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() nodeConfig.NewKeys()
publicKey1, err := hex.DecodeString(nodeConfig.PublicKey) publicKey1, err := hex.DecodeString(nodeConfig.PublicKey)