We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36fcff commit b6c39a2Copy full SHA for b6c39a2
packages/relay/src/lib/services/lockService/LockService.ts
@@ -31,10 +31,9 @@ export class LockService {
31
* @returns A promise that resolves to a unique session key, or null if acquisition fails (fail open).
32
*/
33
async acquireLock(address: string): Promise<string | undefined> {
34
- if (!ConfigService.get('ENABLE_NONCE_ORDERING')) {
35
- return;
+ if (ConfigService.get('ENABLE_NONCE_ORDERING')) {
+ return await this.strategy.acquireLock(address);
36
}
37
- return await this.strategy.acquireLock(address);
38
39
40
/**
0 commit comments