fix nodeinfo and debug admin functions, this is ugly / a hack, but it works i guess...

This commit is contained in:
Arceliar 2021-06-13 05:43:03 -05:00
parent 736c619057
commit 8f91f0c050
3 changed files with 30 additions and 4 deletions

View file

@ -34,8 +34,4 @@ func (t *TunAdapter) SetupAdminHandlers(a *admin.AdminSocket) {
}
return res, nil
})
//_ = a.AddHandler("getNodeInfo", []string{"key"}, t.proto.nodeinfo.nodeInfoAdminHandler)
//_ = a.AddHandler("debug_remoteGetSelf", []string{"key"}, t.proto.getSelfHandler)
//_ = a.AddHandler("debug_remoteGetPeers", []string{"key"}, t.proto.getPeersHandler)
//_ = a.AddHandler("debug_remoteGetDHT", []string{"key"}, t.proto.getDHTHandler)
}