Skip to content

Commit 8d1ddf0

Browse files
author
lemmih
committed
remove unnecessary cast
1 parent bc7b501 commit 8d1ddf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tool/subcommands/archive_cmd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ fn steps_in_range(
624624

625625
fn epoch_to_date(genesis_timestamp: u64, epoch: ChainEpoch) -> anyhow::Result<String> {
626626
Ok(DateTime::from_timestamp(
627-
(genesis_timestamp as i64 + epoch * EPOCH_DURATION_SECONDS) as i64,
627+
(genesis_timestamp as i64 + epoch * EPOCH_DURATION_SECONDS),
628628
0,
629629
)
630630
.unwrap_or_default()

0 commit comments

Comments
 (0)