Fix wrongly called timeouts
This commit is contained in:
parent
8aa2ed175e
commit
8cb4bc2127
@ -57,7 +57,7 @@ export default class Signer {
|
|||||||
this._updateSubscriptions('signer_requestsToConfirm', null, requests);
|
this._updateSubscriptions('signer_requestsToConfirm', null, requests);
|
||||||
nextTimeout();
|
nextTimeout();
|
||||||
})
|
})
|
||||||
.catch(nextTimeout);
|
.catch(() => nextTimeout());
|
||||||
}
|
}
|
||||||
|
|
||||||
_postTransaction (data) {
|
_postTransaction (data) {
|
||||||
|
@ -93,8 +93,8 @@ export default class Http extends JsonRpcBase {
|
|||||||
|
|
||||||
this
|
this
|
||||||
.execute('net_listening')
|
.execute('net_listening')
|
||||||
.then(nextTimeout)
|
.then(() => nextTimeout())
|
||||||
.catch(nextTimeout);
|
.catch(() => nextTimeout());
|
||||||
}
|
}
|
||||||
|
|
||||||
set url (url) {
|
set url (url) {
|
||||||
|
@ -101,7 +101,7 @@ export default class SignerStore {
|
|||||||
|
|
||||||
this.setLocalHashes(keys);
|
this.setLocalHashes(keys);
|
||||||
})
|
})
|
||||||
.then(nextTimeout)
|
.then(() => nextTimeout())
|
||||||
.catch(nextTimeout);
|
.catch(() => nextTimeout());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user