Changed used RPC URLs delimiter from comma to space (#424)

This commit is contained in:
Kirill Fedoseev 2020-09-01 23:02:33 +03:00 committed by GitHub
parent 686c415a5c
commit 27f059db94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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) {