This commit is contained in:
Sergey Cherepanov 2023-02-02 21:21:25 +03:00
parent 75c660916d
commit cc2a98bbad
No known key found for this signature in database
GPG Key ID: 87F8EDE8FBDF637C

View File

@ -46,8 +46,6 @@ func (t *TestPool) Get(ctx context.Context, id string) (peer.Peer, error) {
}
func (t *TestPool) Dial(ctx context.Context, id string) (peer.Peer, error) {
t.mu.Lock()
defer t.mu.Unlock()
return t.Get(ctx, id)
}