mirror of
https://github.com/logos-messaging/js-rln.git
synced 2026-01-02 13:43:06 +00:00
initialize keystore by default
This commit is contained in:
parent
e5920fc061
commit
eb119aa763
@ -203,7 +203,7 @@ export class RLNInstance {
|
||||
private _contract: undefined | RLNContract;
|
||||
private _signer: undefined | ethers.Signer;
|
||||
|
||||
private _keystore: undefined | Keystore;
|
||||
private _keystore = Keystore.create();
|
||||
private _credentials: undefined | DecryptedCredentials;
|
||||
|
||||
constructor(
|
||||
@ -219,7 +219,7 @@ export class RLNInstance {
|
||||
return this._signer;
|
||||
}
|
||||
|
||||
public get keystore(): undefined | Keystore {
|
||||
public get keystore(): Keystore {
|
||||
return this._keystore;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user