diff --git a/html/js/config.js b/html/js/config.js index 807c872..c733f49 100755 --- a/html/js/config.js +++ b/html/js/config.js @@ -1,6 +1,6 @@ var config = { apiUrl: "http://127.0.0.1:1984/", - testnet: true, + testnet: false, coinUnitPlaces: 12, txMinConfirms: 10, // corresponds to CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE in Monero txCoinbaseMinConfirms: 60, // corresponds to CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW in Monero diff --git a/src/YourMoneroRequests.cpp b/src/YourMoneroRequests.cpp index ff50278..19e6940 100755 --- a/src/YourMoneroRequests.cpp +++ b/src/YourMoneroRequests.cpp @@ -579,19 +579,18 @@ YourMoneroRequests::get_unspent_outs(const shared_ptr< Session > session, const j_response["amount"] = total_outputs_amount; - // need proper per_kb_fee estimate for testnet as + // need proper per_kb_fee estimate as // it is already using dynanamic fees. frontend // uses old fixed fees. - if (CurrentBlockchainStatus::testnet) - { - uint64_t fee_estimated {DYNAMIC_FEE_PER_KB_BASE_FEE}; - if (CurrentBlockchainStatus::get_dynamic_per_kb_fee_estimate(fee_estimated)) - { - j_response["per_kb_fee"] = fee_estimated; - } + uint64_t fee_estimated {DYNAMIC_FEE_PER_KB_BASE_FEE}; + + if (CurrentBlockchainStatus::get_dynamic_per_kb_fee_estimate(fee_estimated)) + { + j_response["per_kb_fee"] = fee_estimated; } + } // if (login_and_start_search_thread(xmr_address, view_key, acc, j_response)) else {