mock2/ missing ctxgroup

This commit is contained in:
Juan Batiz-Benet 2014-12-17 06:40:01 -08:00
parent 2f9d398d66
commit 59d1426cf5

View File

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