aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/protocol.go
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/protocol.go')
-rw-r--r--p2p/protocol.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/p2p/protocol.go b/p2p/protocol.go
index 1d121a885..62ada929d 100644
--- a/p2p/protocol.go
+++ b/p2p/protocol.go
@@ -64,6 +64,10 @@ func (h *handshake) Pubkey() []byte {
return h.NodeID
}
+func (h *handshake) PrivKey() []byte {
+ return nil
+}
+
// Cap is the structure of a peer capability.
type Cap struct {
Name string