Skip to content

Commit

Permalink
fix: Add missing returns in connection.loaded Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
icidasset authored and mabels committed Dec 4, 2024
1 parent edb6ba3 commit 4394387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blockstore/connection-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export abstract class ConnectionBase implements Connection {
});
this.loader.remoteMetaStore = remote;
this.loaded = this.loader.ready().then(async () => {
remote.load().then(async () => {
(await throwFalsy(this.loader).WALStore()).process();
return remote.load().then(async () => {
return (await throwFalsy(this.loader).WALStore()).process();
});
});
}
Expand Down

0 comments on commit 4394387

Please sign in to comment.