not sure what's going on

This commit is contained in:
0xdcarns
2022-01-28 18:46:14 -05:00
parent 2b5c5afeb4
commit ef20139ce1
2 changed files with 1 additions and 2 deletions

View File

@@ -3,7 +3,6 @@ package logic
import (
"crypto/rsa"
"encoding/json"
"fmt"
)
// RetrieveTrafficKey - retrieves public key based on node
@@ -14,7 +13,6 @@ func RetrieveTrafficKey() (rsa.PrivateKey, error) {
}
var key rsa.PrivateKey
json.Unmarshal([]byte(telRecord.TrafficKey), &key)
fmt.Printf("retrieved key: %v \n", key.PublicKey)
return key, nil
}