feat(status): show HF5 ACTIVE when height >= 11500
Some checks are pending
Security Scan / security (push) Waiting to run
Test / Test (push) Waiting to run

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:
Claude 2026-04-02 07:43:29 +01:00
parent f4fcaef654
commit 2818f1fed9
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -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