diff --git a/shared/src/main/scala/org/adridadou/openlaw/oracles/EthereumContractEventOracle.scala b/shared/src/main/scala/org/adridadou/openlaw/oracles/EthereumContractEventOracle.scala index 3c570e6a9..003fa1b2b 100644 --- a/shared/src/main/scala/org/adridadou/openlaw/oracles/EthereumContractEventOracle.scala +++ b/shared/src/main/scala/org/adridadou/openlaw/oracles/EthereumContractEventOracle.scala @@ -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,