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