Skip to content

Commit

Permalink
Add addresses normalization for the poll evm config (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Picco committed Mar 8, 2024
1 parent 59f669a commit 24c6683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blockchain-watcher/src/domain/actions/evm/PollEvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export interface PollEvmLogsConfigProps {
commitment?: string;
interval?: number;
addresses: string[];
topics: string[];
topics: (string | string[])[];
id?: string;
chain: string;
chainId: number;
Expand Down Expand Up @@ -203,7 +203,7 @@ export class PollEvmLogsConfig {
}

public get addresses() {
return this.props.addresses;
return this.props.addresses.map((address) => address.toLowerCase());
}

public get topics() {
Expand Down

0 comments on commit 24c6683

Please sign in to comment.