]> Cypherpunks.ru repositories - nncp.git/commitdiff
Add example addrs section in newnode command
authorSergey Matveev <stargrave@stargrave.org>
Sun, 8 Jan 2017 09:06:59 +0000 (12:06 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 8 Jan 2017 09:06:59 +0000 (12:06 +0300)
src/cypherpunks.ru/nncp/cmd/nncp-newnode/main.go

index 5d73b1af5d984534af084f48e90b49aeeb53e5a6..eb12d1dd27201fad96e5baea1dac467a524b1088 100644 (file)
@@ -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",