This commit is contained in:
chaosBreaking
2019-10-07 16:16:47 +08:00
parent 8ea1883828
commit 19a1915686

View File

@@ -7,7 +7,7 @@ const getUSDTTxList = async address => {
const res = await ERC20.getActions(address, USDTAddr, startBlock).catch(err => { const res = await ERC20.getActions(address, USDTAddr, startBlock).catch(err => {
if (err) return []; if (err) return [];
}); });
return res.filter(tx => tx.to === address); //只取转入到地址的 return res.filter(tx => tx.to === address); //只取转入到地址的
}; };
const parseUsdtTx = txList => { const parseUsdtTx = txList => {