Rony 2 years ago
parent
commit
6af6a202f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      model/moralis_sdk.js

+ 1 - 0
model/moralis_sdk.js

@@ -440,6 +440,7 @@ async function computeTransferGasFree(obj, my_account_all_coins, tokenPrices) {
             }
             //归集native token扣除掉gas fee
             var real_native_amount = BigInt(nativeAllBalance) - BigInt(nativeGasPrice);
+            logger.log('real_native_amount =', BigInt(nativeAllBalance), BigInt(nativeGasPrice));
             // var real_native_amount = BigInt(nativeAllBalance);
             var obj_native = {
                 chain: obj.chain,