Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit da36994

Browse files
committed
initNetwork should be public
1 parent 893f15d commit da36994

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/znt.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ export class ABlockWallet {
181181
}
182182

183183
/**
184-
* Common network initialization (retrieval of PoW list for compute as well as storage)
184+
* Common network initialization (retrieval of PoW list for compute and storage)
185185
*
186-
* @private
187186
* @param {IClientConfig} config - Configuration parameters
187+
*
188188
* @memberof ABlockWallet
189189
*/
190-
private async initNetwork(config: IClientConfig): Promise<IClientResponse> {
190+
public async initNetwork(config: IClientConfig): Promise<IClientResponse> {
191191
this.computeHost = config.computeHost;
192192
this.storageHost = config.storageHost;
193193
this.intercomHost = config.intercomHost;

0 commit comments

Comments
 (0)