aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/peer.go b/peer.go
index 6f1ad91e3..f1fff59af 100644
--- a/peer.go
+++ b/peer.go
@@ -813,6 +813,10 @@ func (self *Peer) IsCap(cap string) bool {
return false
}
+func (self *Peer) Caps() *ethutil.Value {
+ return self.protocolCaps
+}
+
func (p *Peer) String() string {
var strBoundType string
if p.inbound {