This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
version = flag.Bool("version", false, "Print version information")
warranty = flag.Bool("warranty", false, "Print warranty information")
)
version = flag.Bool("version", false, "Print version information")
warranty = flag.Bool("warranty", false, "Print warranty information")
)
for _, node := range ctx.Neigh {
var noisePub *string
if node.NoisePub != nil {
for _, node := range ctx.Neigh {
var noisePub *string
if node.NoisePub != nil {
- ExchPub: nncp.ToBase32(node.ExchPub[:]),
- SignPub: nncp.ToBase32(node.SignPub[:]),
+ ExchPub: nncp.Base32Codec.EncodeToString(node.ExchPub[:]),
+ SignPub: nncp.Base32Codec.EncodeToString(node.SignPub[:]),