|
@@ -896,7 +896,7 @@ const collectCoins = async(obj) => {
|
|
|
logger.log(' logParams.transfers=', logParams.transfers)
|
|
|
|
|
|
//是否需要归集
|
|
|
- return obj.address + ':暂停归集过程';
|
|
|
+ // return obj.address + ':暂停归集过程';
|
|
|
if (transFerGasFree.totalCount > 0) {
|
|
|
//需要转移 gas 费
|
|
|
//每次都需要充值 gas 费
|
|
@@ -1092,7 +1092,7 @@ async function transfer_(opts) {
|
|
|
options = Moralis.TransferOptions = {
|
|
|
type: opts.type,
|
|
|
// amount: (opts.amount - 1000).toString(), //金额不足而出现的问题
|
|
|
- amount: (opts.amount - 1000000).toLocaleString('fullwide', { useGrouping: false }),
|
|
|
+ amount: (opts.amount * .999999999).toLocaleString('fullwide', { useGrouping: false }),
|
|
|
receiver: opts.receiver, //接收钱包地址
|
|
|
contractAddress: opts.contractAddress //用户合约地址
|
|
|
};
|