debugging and cleanup

This commit is contained in:
Arceliar 2018-05-06 19:01:52 -05:00
parent 80f893aac3
commit 0b391b6e3a
2 changed files with 31 additions and 6 deletions

View file

@ -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)
}
////////////////////////////////////////////////////////////////////////////////