Skip to content

Commit

Permalink
Merge pull request #503 from eco-stake/remove-rpc-check
Browse files Browse the repository at this point in the history
Remove RPC availability check
  • Loading branch information
tombeynon authored May 30, 2022
2 parents 7188aaf + dc42f1b commit 63ee5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Network.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Network {

connectedDirectory() {
const apis = this.chain ? this.chain.chainData['best_apis'] : this.data['best_apis']
return apis && ['rpc', 'rest'].every(type => apis[type].length > 0)
return apis && ['rest'].every(type => apis[type].length > 0)
}

async load() {
Expand Down

0 comments on commit 63ee5f2

Please sign in to comment.