mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-03-21 22:33:10 +00:00
fix: determine start options
This commit is contained in:
parent
76f86de9c7
commit
df5b9c6afa
@ -160,7 +160,7 @@ export class RLNInstance {
|
||||
try {
|
||||
const { credentials, keystore } =
|
||||
await RLNInstance.decryptCredentialsIfNeeded(options.credentials);
|
||||
const { signer, address } = await this.determineStartOptions(
|
||||
const { signer, address, rateLimit } = await this.determineStartOptions(
|
||||
options,
|
||||
credentials
|
||||
);
|
||||
@ -174,7 +174,7 @@ export class RLNInstance {
|
||||
this._contract = await RLNContract.init(this, {
|
||||
address: address!,
|
||||
signer: signer!,
|
||||
rateLimit: options.rateLimit ?? this.zerokit.getRateLimit
|
||||
rateLimit: rateLimit ?? this.zerokit.getRateLimit
|
||||
});
|
||||
this.started = true;
|
||||
} finally {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user