forked from Public/monero-gui
fix testnet address check
This commit is contained in:
@@ -303,7 +303,7 @@ std::pair<quint8, QString> OSHelper::getNetworkTypeAndAddressFromFile(const QStr
|
|||||||
address = _address;
|
address = _address;
|
||||||
if(address.startsWith("5") || address.startsWith("7")){
|
if(address.startsWith("5") || address.startsWith("7")){
|
||||||
networkType = NetworkType::STAGENET;
|
networkType = NetworkType::STAGENET;
|
||||||
} else if(address.startsWith("9") || address.startsWith("B")){
|
} else if(address.startsWith("9") || address.startsWith("A")){
|
||||||
networkType = NetworkType::TESTNET;
|
networkType = NetworkType::TESTNET;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user