mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
p2p: remove Cap.RlpData
This commit is contained in:
parent
ebfc338814
commit
111803639a
1 changed files with 0 additions and 4 deletions
|
|
@ -72,10 +72,6 @@ type Cap struct {
|
|||
Version uint
|
||||
}
|
||||
|
||||
func (cap Cap) RlpData() interface{} {
|
||||
return []interface{}{cap.Name, cap.Version}
|
||||
}
|
||||
|
||||
func (cap Cap) String() string {
|
||||
return fmt.Sprintf("%s/%d", cap.Name, cap.Version)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue