Changed order

This commit is contained in:
vadym 2022-12-22 15:10:03 +02:00
parent c65717df6b
commit 66e90fa1f3

View file

@ -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 {