*Need to pass methods to check in module.method format
This commit is contained in:
parent
e30f1797fb
commit
7834ed5e6d
|
@ -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
|
||||||
))
|
))
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue