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 <charon@lethean.io>
This commit is contained in:
parent
be137e61c5
commit
22c52c0b70
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue