Apply suggestions from code review.
Co-authored-by: Daira Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
d5dc4c6d9c
commit
bdc6886e2d
|
@ -483,7 +483,7 @@ impl<Nf> ScannedBlock<Nf> {
|
|||
self.metadata.block_hash
|
||||
}
|
||||
|
||||
/// Returns the block time of the block that was scanned.
|
||||
/// Returns the block time of the block that was scanned, as a Unix timestamp in seconds.
|
||||
pub fn block_time(&self) -> u32 {
|
||||
self.block_time
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue