aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-03-07 13:56:17 +0900
committerstoffu <stoffu@protonmail.ch>2018-03-07 13:56:17 +0900
commit55a65f3269826b9e1cc6a3fb2770b8bc4761e39b (patch)
treedb9dd0b3d315d26fc2aa8b68fb071418a1d8162d /src
parentMerge pull request #3253 (diff)
downloadmonero-55a65f3269826b9e1cc6a3fb2770b8bc4761e39b.tar.xz
Wallet API: corrected testnet/mainnet ordering
Diffstat (limited to 'src')
-rw-r--r--src/wallet/api/wallet2_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index a6320545e..36b3b9c9b 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -541,7 +541,7 @@ struct Wallet
static bool addressValid(const std::string &str, NetworkType nettype);
static bool addressValid(const std::string &str, bool testnet) // deprecated
{
- return addressValid(str, testnet ? MAINNET : TESTNET);
+ return addressValid(str, testnet ? TESTNET : MAINNET);
}
static bool keyValid(const std::string &secret_key_string, const std::string &address_string, bool isViewKey, NetworkType nettype, std::string &error);
static bool keyValid(const std::string &secret_key_string, const std::string &address_string, bool isViewKey, bool testnet, std::string &error) // deprecated