This commit is contained in:
chaosBreaking
2019-09-29 13:39:45 +08:00
parent 4b6cfebc5a
commit f918c628c4

View File

@@ -75,7 +75,7 @@ const FundSchema = new mongoose.Schema({
const FundModel = mongoose.model('Fund', FundSchema);
FundModel.prototype.hasNewDeposit = async () => {
FundModel.prototype.hasNewDeposit = async function () {
if (this.tokenAddress.usdtETH) {
const usdtTx = await getUSDTTxList(this.tokenAddress.usdtETH.address);
if (usdtTx && usdtTx.length > 0) {