mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #3365
55a65f32
Wallet API: corrected testnet/mainnet ordering (stoffu)
This commit is contained in:
commit
3a12f2588a
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ struct Wallet
|
||||||
static bool addressValid(const std::string &str, NetworkType nettype);
|
static bool addressValid(const std::string &str, NetworkType nettype);
|
||||||
static bool addressValid(const std::string &str, bool testnet) // deprecated
|
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, 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
|
static bool keyValid(const std::string &secret_key_string, const std::string &address_string, bool isViewKey, bool testnet, std::string &error) // deprecated
|
||||||
|
|
Loading…
Reference in a new issue