*isServerAvailable is async

This commit is contained in:
Derrick Hammer 2022-07-27 00:05:28 -04:00
parent 3cf6738850
commit 3864465ba2
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ export default class DHT {
const connection = this._relays.get(available[relayIndex]) as string;
if (!this.isServerAvailable(connection)) {
if (!(await this.isServerAvailable(connection))) {
continue;
}