4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-15 03:18:56 +00:00

Export NodeInfoPayload type, rename some API functions

This commit is contained in:
Neil Alexander
2019-07-28 11:30:24 +01:00
parent 377f88512b
commit 24f4754f2b
4 changed files with 27 additions and 38 deletions

View File

@ -394,7 +394,7 @@ func (p *nodeinfoReqRes) decode(bs []byte) bool {
if len(bs) == 0 {
return false
}
p.NodeInfo = make(nodeinfoPayload, len(bs))
p.NodeInfo = make(NodeInfoPayload, len(bs))
if !wire_chop_slice(p.NodeInfo[:], &bs) {
return false
}