adding seed0 --seed to peers.

This commit is contained in:
Colin Lyons
2023-01-06 22:22:10 +00:00
parent c385660a26
commit d492862474

View File

@@ -2,6 +2,7 @@ package main
import (
"fmt"
"github.com/davecgh/go-spew/spew"
"github.com/indra-labs/indra"
"github.com/indra-labs/indra/pkg/app"
"github.com/indra-labs/indra/pkg/cfg"
@@ -96,10 +97,10 @@ var commands = &cmds.Command{
log.I.Ln("-- ", log2.App, "("+params.Name+") -", indra.SemVer, "- Network Freedom. --")
//spew.Dump(c.GetListValue("seed"))
//spew.Dump(c.GetListValue("peer"))
//spew.Dump(c.GetListValue("listen"))
//spew.Dump(c.GetValue("key").Text())
spew.Dump(c.GetListValue("seed"))
spew.Dump(c.GetListValue("peer"))
spew.Dump(c.GetListValue("listen"))
spew.Dump(c.GetValue("key").Text())
var privKey crypto.PrivKey
if privKey, err = server.Base58Decode(c.GetValue("key").Text()); check(err) {