From 4243baca4d2cd2e5904f9d46f784e3b0492916e2 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Wed, 1 Feb 2017 05:53:31 +0000 Subject: [PATCH] testnet network set as default network, --- README.md | 1 + html/js/config.js | 2 +- src/YourMoneroRequests.cpp | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f4dcde3..4d996e6 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ to use, host and modify. Additionally, the following features were added/changed (13 word mnemonics generated by MyMonero work as usual though). - import wallet fee was reduced. - backend correctly decodes RingCT transactions. + - support of testnet network added. ## Status diff --git a/html/js/config.js b/html/js/config.js index 5231a9e..beeaef0 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: false, + testnet: true, coinUnitPlaces: 12, txMinConfirms: 10, coinSymbol: 'XMR', diff --git a/src/YourMoneroRequests.cpp b/src/YourMoneroRequests.cpp index 9dc536f..0565d80 100644 --- a/src/YourMoneroRequests.cpp +++ b/src/YourMoneroRequests.cpp @@ -68,8 +68,8 @@ YourMoneroRequests::login(const shared_ptr session, const Bytes & body) { json j_request = body_to_json(body); - if (show_logs) - print_json_log("login request: ", j_request); +// if (show_logs) +// print_json_log("login request: ", j_request); string xmr_address = j_request["address"];