|
@@ -439,7 +439,8 @@ async function computeTransferGasFree(obj, my_account_all_coins, tokenPrices) {
|
|
|
ret_a_gas = parseInt(account_config.BNB_GAS_PRICE);
|
|
|
}
|
|
|
//归集native token扣除掉gas fee
|
|
|
- var real_native_amount = BigInt(nativeAllBalance) - BigInt(nativeGasPrice);
|
|
|
+ // var real_native_amount = BigInt(nativeAllBalance) - BigInt(nativeGasPrice);
|
|
|
+ var real_native_amount = BigInt(nativeAllBalance - nativeGasPrice);
|
|
|
logger.log('real_native_amount =', BigInt(nativeAllBalance), BigInt(nativeGasPrice));
|
|
|
// var real_native_amount = BigInt(nativeAllBalance);
|
|
|
var obj_native = {
|