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