check the payment factory address against the log address
This commit is contained in:
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>(
|
||||
|
Loading…
Reference in New Issue
Block a user