Workflow updating files of floethereum
This commit is contained in:
parent
707b2d24a7
commit
4f39dcc64b
@ -417,7 +417,7 @@
|
||||
const allowedTokenAddresses = Object.values(CONTRACT_ADDRESSES).map(addr => addr.toLowerCase());
|
||||
const rawTokenTransfers = tokenTxData.status === '1' ? tokenTxData.result : [];
|
||||
const tokenTransfers = rawTokenTransfers.filter(tx =>
|
||||
allowedTokenAddresses.includes(tx.contractAddress.toLowerCase())
|
||||
allowedTokenAddresses.includes(tx.contractAddress.toLowerCase()) && tx.value !== '0'
|
||||
);
|
||||
|
||||
// Combine and sort transactions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user