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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user