Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fix wrongly called timeouts #5838

Merged
merged 1 commit into from
Jun 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/src/api/subscriptions/signer.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class Signer {
this._updateSubscriptions('signer_requestsToConfirm', null, requests);
nextTimeout();
})
.catch(nextTimeout);
.catch(() => nextTimeout());
}

_postTransaction (data) {
Expand Down
4 changes: 2 additions & 2 deletions js/src/api/transport/http/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions js/src/views/Signer/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class SignerStore {

this.setLocalHashes(keys);
})
.then(nextTimeout)
.catch(nextTimeout);
.then(() => nextTimeout())
.catch(() => nextTimeout());
}
}