@cryptotaxi247 / kubo / commits / 59d1426cf

mock2/ missing ctxgroup

Juan Batiz-Benet committed Dec 17, 2014 at 06:40 UTC 59d1426cf5b02dd13a92bab9e017a1bf3f2c1fa7
1 file changed +1
net/mock2/mock_net.go
+1
@@ -36,6 +36,7 @@ func New(ctx context.Context) Mocknet {
36 return &mocknet{
37 nets: map[peerID]*peernet{},
38 links: map[peerID]map[peerID]map[*link]struct{}{},
39 + cg: ctxgroup.WithContext(ctx),
40 }
41 }
42