ax(node): replace prose comment with usage example on chain constants
Some checks failed
Test / test (push) Waiting to run
Security Scan / security (push) Failing after 32s

LetheanDefaults comment restated what the constant block name already says (AX
Principle 2). Replaced with concrete call examples showing GetChainInfo and
DiscoverPools usage against both daemon endpoints.

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-02 14:35:46 +01:00
parent be137e61c5
commit 22c52c0b70
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -10,7 +10,8 @@ import (
"net/http"
)
// LetheanDefaults for chain connectivity.
// info, err := node.GetChainInfo(LetheanMainnetDaemon)
// pools := node.DiscoverPools(LetheanTestnetDaemon)
const (
LetheanTestnetDaemon = "http://127.0.0.1:46941"
LetheanMainnetDaemon = "http://127.0.0.1:36941"