Skip to content

Commit

Permalink
Fix address match to be case-insensitive for event filter. (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
craig-openlaw authored Aug 11, 2020
1 parent ad6a03c commit 250d425
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ final case class EthereumEventFilterOracle(
Some(OpenlawString(eventType)),
Some(OpenlawBoolean(true))
)
if address === event.smartContractAddress.withLeading0x && eventType === event.eventType =>
if address.toLowerCase === event.smartContractAddress.withLeading0x.toLowerCase && eventType === event.eventType =>
val execution = EthereumEventFilterExecution(
event.executionDate,
SuccessfulExecution,
Expand Down

0 comments on commit 250d425

Please sign in to comment.