From 735d0241934f4a7b4adb1ef54c427b8211b7921f Mon Sep 17 00:00:00 2001 From: chaosBreaking Date: Sun, 8 Sep 2019 22:54:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=B7=E6=96=B0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/fund/fund.model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fund/fund.model.js b/src/modules/fund/fund.model.js index 60a2705..7eb7adc 100644 --- a/src/modules/fund/fund.model.js +++ b/src/modules/fund/fund.model.js @@ -67,7 +67,7 @@ const FundModel = mongoose.model('Fund', FundSchema); FundModel.prototype.hasNewDeposit = async function () { if (this.tokenAddress.usdtETH) { - const usdtTx = await getUSDTTxList(this.tokenAddress.usdtETH); + const usdtTx = await getUSDTTxList(this.tokenAddress.usdtETH.address); const fundList = this.fundList; const newDepositList = getNewDepositTx(usdtTx, fundList); if (newDepositList && newDepositList.length > 0)