ID returns the node's peer ID.
()
| 103 | |
| 104 | // ID returns the node's peer ID. |
| 105 | func (info DefaultNodeInfo) ID() ID { |
| 106 | return info.DefaultNodeID |
| 107 | } |
| 108 | |
| 109 | // Validate checks the self-reported DefaultNodeInfo is safe. |
| 110 | // It returns an error if there |
no outgoing calls
no test coverage detected