fix: pass CI

This commit is contained in:
0xMochan
2024-06-03 09:57:19 -04:00
parent f1796d1c67
commit c1966cca38
3 changed files with 4 additions and 4 deletions

View File

@@ -24,9 +24,9 @@ fn get_pool_tokens(pool_address: &Vec<u8>, tokens_store: &StoreGetString) -> Opt
)
}
/// TODO rewrite
/// Tracks `Transfers` in and out of tracked pools if it matches the specific tokens.
pub fn emit_deltas(log: LogView, tokens_store: &StoreGetString) -> Option<BalanceDelta> {
let transfer = abi::erc20::events::Transfer::match_and_decode(log)?;
let transfer = abi::ERC20::events::Transfer::match_and_decode(log)?;
let (component_id, pool_tokens, is_incoming) =
if let Some(pool_tokens) = get_pool_tokens(&transfer.to, tokens_store) {