Added protocol caps accessors

This commit is contained in:
obscuren
2014-09-26 13:45:26 +02:00
parent 68119d0929
commit b8354124be
3 changed files with 14 additions and 1 deletions

View File

@ -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 {