String returns the sync status
()
| 124 | |
| 125 | // String returns the sync status |
| 126 | func (s *Sync) String() string { |
| 127 | if s.Status { |
| 128 | return StatusSynced |
| 129 | } |
| 130 | return StatusUnsynced |
| 131 | } |
| 132 | |
| 133 | // Peer holds all information of an eth2 peer |
| 134 | type Peer struct { |
no outgoing calls
no test coverage detected