mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 00:15:06 +03:00
Changed order
This commit is contained in:
parent
c65717df6b
commit
66e90fa1f3
1 changed files with 1 additions and 1 deletions
|
@ -140,8 +140,8 @@ func (a *RestServer) apiSelfHandler(w http.ResponseWriter, r *http.Request) {
|
|||
"key": hex.EncodeToString(self.Key[:]),
|
||||
"private_key": hex.EncodeToString(self.PrivateKey[:]),
|
||||
"address": a.Core.Address().String(),
|
||||
"coords": self.Coords,
|
||||
"subnet": snet.String(),
|
||||
"coords": self.Coords,
|
||||
}
|
||||
b, err := json.Marshal(result)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue