check the payment factory address against the log address

This commit is contained in:
Bryan Stitt 2023-07-26 13:22:13 -07:00
parent 4dfef7a9f7
commit 2b14842879

@ -312,6 +312,10 @@ pub async fn user_balance_post(
continue;
}
if log.address != payment_factory_address {
continue;
}
// Parse the log into an event
if let Ok(event) = payment_factory_contract
.decode_event::<payment_factory::PaymentReceivedFilter>(