feat(status): show HF5 ACTIVE when height >= 11500
Status command now shows "HF5 ACTIVE — confidential assets enabled" instead of nothing when HF5 has already activated. Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
parent
f4fcaef654
commit
2818f1fed9
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ func runStatus(seed string, testnet bool) error {
|
|||
if hf5Remaining > 0 {
|
||||
core.Print(nil, "")
|
||||
core.Print(nil, " HF5 in %d blocks (~%.1f hours)", hf5Remaining, float64(hf5Remaining)*2/60)
|
||||
} else {
|
||||
core.Print(nil, "")
|
||||
core.Print(nil, " HF5 ACTIVE — confidential assets enabled")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue