(&self, buf: &mut Vec<u8>)
| 202 | |
| 203 | pub fn epoch(&self) -> u64 { |
| 204 | self.header.epoch() |
| 205 | } |
| 206 | } |
| 207 | |
| 208 | impl Heightable for Block { |
| 209 | fn height(&self) -> Height { |
| 210 | Height::new(self.header.height()) |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | impl Epochable for Block { |
| 215 | fn epoch(&self) -> Epoch { |
| 216 | Epoch::new(self.header.epoch()) |
nothing calls this directly
no outgoing calls
no test coverage detected