mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
Remove unnecessary tests
This commit is contained in:
parent
766c322958
commit
77ceab5d85
1 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue