mirror of
https://github.com/vacp2p/mix.git
synced 2026-01-09 21:07:59 -05:00
fix: instantiate tagmanager by default
This commit is contained in:
@@ -349,7 +349,7 @@ proc new*(
|
||||
mixNodeInfo: MixNodeInfo,
|
||||
pubNodeInfo: Table[PeerId, MixPubInfo],
|
||||
switch: Switch,
|
||||
tagManager: TagManager,
|
||||
tagManager: TagManager = TagManager.new(),
|
||||
): T =
|
||||
let mixProto = new(T)
|
||||
mixProto.mixNodeInfo = mixNodeInfo
|
||||
|
||||
Reference in New Issue
Block a user