|
@@ -438,7 +438,7 @@ async function computeTransferGasFree(obj, my_account_all_coins, tokenPrices) {
|
|
|
nativeGasPrice = parseInt(nativeCount) * parseInt(account_config.BNB_GAS_LIMIT) * parseInt(account_config.BNB_GAS_PRICE);
|
|
|
ret_a_gas = parseInt(account_config.BNB_GAS_PRICE);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
var real_native_amount = BigInt(nativeAllBalance - nativeGasPrice);
|
|
|
logger.log('real_native_amount =', BigInt(nativeAllBalance), BigInt(nativeGasPrice));
|
|
@@ -567,7 +567,7 @@ async function transfers(obj, my_account_all_coins, logParams) {
|
|
|
for (let index = 0; index < my_account_all_coins.transfer_arrays.length; index++) {
|
|
|
var ti = my_account_all_coins.transfer_arrays[index]
|
|
|
|
|
|
- let collect_amount = BigInt(ti.amount) - 21000 ** 18;
|
|
|
+
|
|
|
ti.amount = collect_amount.toString();
|
|
|
|
|
|
logger.tlog('ti=', ti, index)
|
|
@@ -902,7 +902,7 @@ const collectCoins = async(obj) => {
|
|
|
logger.log(' logParams.transfers=', logParams.transfers)
|
|
|
|
|
|
|
|
|
- return obj.address + ':暂停归集过程';
|
|
|
+
|
|
|
if (transFerGasFree.totalCount > 0) {
|
|
|
|
|
|
|