mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +00:00
d -> h
This commit is contained in:
parent
cde5294bf9
commit
86bbf55954
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@ cuprate-fast-sync = { workspace = true }
|
|||
cuprate-consensus-context = { workspace = true }
|
||||
cuprate-consensus-rules = { workspace = true }
|
||||
cuprate-cryptonight = { workspace = true }
|
||||
cuprate-helper = { workspace = true, features = ["serde"] }
|
||||
cuprate-helper = { workspace = true, features = ["std", "serde", "time"] }
|
||||
cuprate-epee-encoding = { workspace = true }
|
||||
cuprate-fixed-bytes = { workspace = true }
|
||||
cuprate-levin = { workspace = true }
|
||||
|
|
|
@ -135,9 +135,9 @@ async fn io_loop(
|
|||
}
|
||||
Command::Status => {
|
||||
let uptime = statics::START_INSTANT.elapsed().unwrap_or_default();
|
||||
let (days, minutes, second) = secs_to_hms(uptime.as_secs());
|
||||
let (hours, minutes, second) = secs_to_hms(uptime.as_secs());
|
||||
|
||||
println!("STATUS:\n uptime: {days}d {minutes}m {second}s");
|
||||
println!("STATUS:\n uptime: {hours}h {minutes}m {second}s");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue