1
0
Fork 0

chore: unify naming for node related types

This commit is contained in:
Arthur K. 2026-01-18 01:08:52 +03:00
parent bbee40ec98
commit 4d44012d06
Signed by: wzray
GPG key ID: B97F30FDC4636357
12 changed files with 72 additions and 53 deletions

View file

@ -76,8 +76,9 @@ func main() {
zerolog.SetGlobalLevel(levelToZerolog(config.Node.LogLevel))
self := types.NewNode(
fmt.Sprintf("%v:%v", config.Node.Endpoint, config.Node.Port),
config.Node.Hostname,
config.Node.Address,
config.Node.Port,
config.Roles,
)