|
@@ -352,6 +352,8 @@ async function computeTransferGasFree(obj, my_account_all_coins, tokenPrices) {
|
|
var nativeCount = 0
|
|
var nativeCount = 0
|
|
var nativePriceItem = findTokenPriceItem('0x0000000000000000000000000000000000000000', tokenPrices);
|
|
var nativePriceItem = findTokenPriceItem('0x0000000000000000000000000000000000000000', tokenPrices);
|
|
logger.log('native nativePriceItem=', nativePriceItem, nativeAllBalance);
|
|
logger.log('native nativePriceItem=', nativePriceItem, nativeAllBalance);
|
|
|
|
+
|
|
|
|
+
|
|
if (nativePriceItem) {
|
|
if (nativePriceItem) {
|
|
var total_all_usdprice = calculate_total_usdprice(nativeAllBalance, '18', nativePriceItem.usdPrice);
|
|
var total_all_usdprice = calculate_total_usdprice(nativeAllBalance, '18', nativePriceItem.usdPrice);
|
|
logger.log('native total_all_usdprice=', total_all_usdprice);
|
|
logger.log('native total_all_usdprice=', total_all_usdprice);
|