mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Remove router.doAdmin and switchTable.doAdmin
This commit is contained in:
parent
a8b323acdd
commit
5d7d84f827
8 changed files with 15 additions and 25 deletions
|
@ -251,8 +251,3 @@ func (r *router) _handleNodeInfo(bs []byte, fromKey *crypto.BoxPubKey) {
|
|||
req.SendPermPub = *fromKey
|
||||
r.nodeinfo.handleNodeInfo(&req)
|
||||
}
|
||||
|
||||
// TODO remove this, have things either be actors that send message or else call Block directly
|
||||
func (r *router) doAdmin(f func()) {
|
||||
phony.Block(r, f)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue