Skip to content

Commit

Permalink
Add back check for access list factory. (#1889)
Browse files Browse the repository at this point in the history
* Add back check for access list factory.

* Remove second condition.

* fix condition.
  • Loading branch information
mariacarmina authored Dec 18, 2024
1 parent 0bc6f0b commit ebd7359
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/config/ConfigHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,9 @@ export class ConfigHelper {
config.sdk = 'evm'
}
}

config.accessListFactory = contractAddressesConfig.accessListFactory
if (contractAddressesConfig && 'accessListFactory' in contractAddressesConfig) {
config.accessListFactory = contractAddressesConfig.accessListFactory
}

config = { ...config, ...contractAddressesConfig }

Expand Down

0 comments on commit ebd7359

Please sign in to comment.