From 3921ba9e0d717b040bc0e2f5b46588993a8b8129 Mon Sep 17 00:00:00 2001 From: chaosBreaking Date: Wed, 2 Oct 2019 23:03:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E5=8C=BA?= =?UTF-8?q?=E5=9D=97=E9=93=BE=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/deposit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/deposit.js b/src/common/deposit.js index c464e70..2ae8b1f 100644 --- a/src/common/deposit.js +++ b/src/common/deposit.js @@ -7,7 +7,7 @@ const getUSDTTxList = async address => { const res = await ERC20.getActions(address, USDTAddr, startBlock).catch(err => { if (err) return []; }); - return res; + return res.filter(tx => tx.to === address); //只取转入到改地址的 }; const parseUsdtTx = txList => {