fix: 刷新接口
This commit is contained in:
@@ -67,7 +67,7 @@ const FundModel = mongoose.model('Fund', FundSchema);
|
|||||||
|
|
||||||
FundModel.prototype.hasNewDeposit = async function () {
|
FundModel.prototype.hasNewDeposit = async function () {
|
||||||
if (this.tokenAddress.usdtETH) {
|
if (this.tokenAddress.usdtETH) {
|
||||||
const usdtTx = await getUSDTTxList(this.tokenAddress.usdtETH);
|
const usdtTx = await getUSDTTxList(this.tokenAddress.usdtETH.address);
|
||||||
const fundList = this.fundList;
|
const fundList = this.fundList;
|
||||||
const newDepositList = getNewDepositTx(usdtTx, fundList);
|
const newDepositList = getNewDepositTx(usdtTx, fundList);
|
||||||
if (newDepositList && newDepositList.length > 0)
|
if (newDepositList && newDepositList.length > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user