Merge pull request #1190 from neuroscr/clearnet

scope buildNewOnionPathsWorker call properly
pull/1191/head
Ryan Tharp 5 years ago committed by GitHub
commit f0d88681a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -488,10 +488,9 @@ class LokiSnodeAPI {
async buildNewOnionPaths() { async buildNewOnionPaths() {
// this function may be called concurrently make sure we only have one inflight // this function may be called concurrently make sure we only have one inflight
return primitives.allowOnlyOneAtATime( return primitives.allowOnlyOneAtATime('buildNewOnionPaths', async () => {
'buildNewOnionPaths', await this.buildNewOnionPathsWorker();
this.buildNewOnionPathsWorker });
);
} }
async getRandomSnodeAddress() { async getRandomSnodeAddress() {

Loading…
Cancel
Save