diff --git a/src/restapi/rest_server.go b/src/restapi/rest_server.go index 7bf483b3..6213248d 100644 --- a/src/restapi/rest_server.go +++ b/src/restapi/rest_server.go @@ -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 {