mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-02 14:58:03 +08:00
mock2/ missing ctxgroup
This commit is contained in:
parent
2f9d398d66
commit
59d1426cf5
@ -36,6 +36,7 @@ func New(ctx context.Context) Mocknet {
|
||||
return &mocknet{
|
||||
nets: map[peerID]*peernet{},
|
||||
links: map[peerID]map[peerID]map[*link]struct{}{},
|
||||
cg: ctxgroup.WithContext(ctx),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user