mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
debugging and cleanup
This commit is contained in:
parent
80f893aac3
commit
0b391b6e3a
2 changed files with 31 additions and 6 deletions
|
@ -400,7 +400,7 @@ func (c *Core) DEBUG_setIfceExpr(expr *regexp.Regexp) {
|
|||
func (c *Core) DEBUG_addAuthBoxPub(boxBytes []byte) {
|
||||
var box boxPubKey
|
||||
copy(box[:], boxBytes)
|
||||
c.peers.authBoxPubs[box] = struct{}{}
|
||||
c.peers.addAuthBoxPub(&box)
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue