Changed used RPC URLs delimiter from comma to space (#424)
This commit is contained in:
parent
686c415a5c
commit
27f059db94
@ -11,8 +11,8 @@ function RpcUrlsManager(homeUrls, foreignUrls) {
|
|||||||
throw new Error(`Invalid foreignUrls: '${foreignUrls}'`)
|
throw new Error(`Invalid foreignUrls: '${foreignUrls}'`)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.homeUrls = homeUrls.split(',')
|
this.homeUrls = homeUrls.split(' ')
|
||||||
this.foreignUrls = foreignUrls.split(',')
|
this.foreignUrls = foreignUrls.split(' ')
|
||||||
}
|
}
|
||||||
|
|
||||||
RpcUrlsManager.prototype.tryEach = async function(chain, f, redundant = false) {
|
RpcUrlsManager.prototype.tryEach = async function(chain, f, redundant = false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user