From 3a48a52a5397b6ae02406a05e90a623fc920b875 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 11 Jul 2023 01:01:10 -0400 Subject: [PATCH] fix: add getter for store in baseclient --- src/baseClient.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/baseClient.ts b/src/baseClient.ts index 2bcf1a1..153c57a 100644 --- a/src/baseClient.ts +++ b/src/baseClient.ts @@ -28,7 +28,6 @@ export default abstract class BaseClient { protected booted = false; private syncMutex = new Mutex(); protected options: BaseClientOptions; - protected; constructor(options: BaseClientOptions) { this.options = options; @@ -86,6 +85,10 @@ export default abstract class BaseClient { this.syncMutex.release(); } + public get store(): IStore { + return this.options.store as IStore; + } + // committee and prover index of the first honest prover protected abstract syncFromGenesis(): Promise;