fix
This commit is contained in:
parent
75c660916d
commit
cc2a98bbad
@ -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)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user