mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 07:47:26 -04:00
fix testnet address check
This commit is contained in:
@@ -303,7 +303,7 @@ std::pair<quint8, QString> OSHelper::getNetworkTypeAndAddressFromFile(const QStr
|
||||
address = _address;
|
||||
if(address.startsWith("5") || address.startsWith("7")){
|
||||
networkType = NetworkType::STAGENET;
|
||||
} else if(address.startsWith("9") || address.startsWith("B")){
|
||||
} else if(address.startsWith("9") || address.startsWith("A")){
|
||||
networkType = NetworkType::TESTNET;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user