improved web4 reconnect
This commit is contained in:
parent
05c3535f5f
commit
86282dcbc2
@ -176,7 +176,10 @@ Node.prototype.checkWeb3Connection = function()
|
|||||||
|
|
||||||
Node.prototype.reconnectWeb3 = function()
|
Node.prototype.reconnectWeb3 = function()
|
||||||
{
|
{
|
||||||
|
console.info("Web3 reconnect attempts started");
|
||||||
|
|
||||||
this._web3 = false;
|
this._web3 = false;
|
||||||
|
this._connection_attempts = 0;
|
||||||
|
|
||||||
if(this.updateInterval)
|
if(this.updateInterval)
|
||||||
clearInterval(this.updateInterval);
|
clearInterval(this.updateInterval);
|
||||||
|
Loading…
Reference in New Issue
Block a user