mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-18 11:01:06 +00:00
Payment request parsing on startup now only changes network if a valid network name is specified.
This commit is contained in:
parent
418d4ad110
commit
509f926e80
@ -214,11 +214,15 @@ bool PaymentServer::ipcParseCommandLine(int argc, char* argv[])
|
||||
if (readPaymentRequest(arg, request))
|
||||
{
|
||||
if (request.getDetails().network() == "main")
|
||||
{
|
||||
SelectParams(CBaseChainParams::MAIN);
|
||||
else
|
||||
}
|
||||
else if (request.getDetails().network() == "test")
|
||||
{
|
||||
SelectParams(CBaseChainParams::TESTNET);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Printing to debug.log is about the best we can do here, the
|
||||
|
Loading…
x
Reference in New Issue
Block a user