*Need to pass methods to check in module.method format

This commit is contained in:
Derrick Hammer 2022-08-31 18:25:39 -04:00
parent e30f1797fb
commit 7834ed5e6d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 6 additions and 1 deletions

View File

@ -234,7 +234,12 @@ function checkRelayLatency(relay: string, list: any[]) {
if ( if (
!(await relayHasMethods( !(await relayHasMethods(
["stat_ipfs", "stat_ipns", "fetch_ipfs", "fetch_ipns"], [
"ipfs.stat_ipfs",
"ipfs.stat_ipns",
"ipfs.fetch_ipfs",
"ipfs.fetch_ipns",
],
relay relay
)) ))
) { ) {