Skip to content
Snippets Groups Projects
Commit 87da51b1 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] More logging. Le sigh..

parent 9701c242
No related branches found
No related tags found
2 merge requests!2Fail Over Capability,!1Automatic Fail Over
......@@ -192,9 +192,19 @@ class Steem extends EventEmitter {
config.set( 'address_prefix', options.useTestNet ? 'TST' : 'STM' )
}
if (options.hasOwnProperty('failover_threshold'))
{
console.log("options has failover_threshold property");
config.set('failover_threshold', options.failover_threshold);
}
else
console.log("option does NOT have failover_threshold property. why?");
if (options.hasOwnProperty('alternative_api_endpoints'))
{
console.log("options has alternative_api_endpoints property");
config.set('alternative_api_endpoints', options.alternative_api_endpoints);
}
else
console.log("option does NOT have alternative_api_endpoints property. why?");
}
setWebSocket(url) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment