aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-08 18:44:18 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-08 18:44:18 +0200
commit3a12f2588ad42d5f496774dc2f0d4f4db34d84b9 (patch)
tree9bfc008349e6064ae4126dee403ec9582b87b13b /src
parentMerge pull request #3362 (diff)
parentWallet API: corrected testnet/mainnet ordering (diff)
downloadmonero-3a12f2588ad42d5f496774dc2f0d4f4db34d84b9.tar.xz
Merge pull request #3365
55a65f32 Wallet API: corrected testnet/mainnet ordering (stoffu)
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