func (n LocalNode) PublicKey() p2pcrypto.PublicKey {
	return n.publicKey
}
PublicKey returns the node's public key
package node
import (
	"github.com/libonomy/libonomy-p2p/p2p/p2pcrypto"
)
type LocalNode struct {
	publicKey p2pcrypto.PublicKey
	privKey   p2pcrypto.PrivateKey
}