From: Sergey Matveev Date: Sun, 8 Jan 2017 09:06:59 +0000 (+0300) Subject: Add example addrs section in newnode command X-Git-Tag: 0.1~28 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1db9f650a97eac73456524959ea55e2b5d6e88d6;p=nncp.git Add example addrs section in newnode command --- diff --git a/src/cypherpunks.ru/nncp/cmd/nncp-newnode/main.go b/src/cypherpunks.ru/nncp/cmd/nncp-newnode/main.go index 5d73b1a..eb12d1d 100644 --- a/src/cypherpunks.ru/nncp/cmd/nncp-newnode/main.go +++ b/src/cypherpunks.ru/nncp/cmd/nncp-newnode/main.go @@ -73,6 +73,7 @@ func main() { NoisePub: nncp.ToBase32(nodeOur.NoisePub[:]), Incoming: &incoming, Freq: &freq, + Addrs: map[string]string{"main": "localhost:5400"}, }, }, Spool: "/path/to/spool",