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)