From 22c52c0b70f49bdbbee1affe442617edaadf6816 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 14:35:46 +0100 Subject: [PATCH] ax(node): replace prose comment with usage example on chain constants 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 --- pkg/node/lethean.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/node/lethean.go b/pkg/node/lethean.go index 33a0341..96b2fa0 100644 --- a/pkg/node/lethean.go +++ b/pkg/node/lethean.go @@ -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"