fix2
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user