|
|
@ -214,11 +214,15 @@ bool PaymentServer::ipcParseCommandLine(int argc, char* argv[]) |
|
|
|
if (readPaymentRequest(arg, request)) |
|
|
|
if (readPaymentRequest(arg, request)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (request.getDetails().network() == "main") |
|
|
|
if (request.getDetails().network() == "main") |
|
|
|
|
|
|
|
{ |
|
|
|
SelectParams(CBaseChainParams::MAIN); |
|
|
|
SelectParams(CBaseChainParams::MAIN); |
|
|
|
else |
|
|
|
} |
|
|
|
|
|
|
|
else if (request.getDetails().network() == "test") |
|
|
|
|
|
|
|
{ |
|
|
|
SelectParams(CBaseChainParams::TESTNET); |
|
|
|
SelectParams(CBaseChainParams::TESTNET); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Printing to debug.log is about the best we can do here, the
|
|
|
|
// Printing to debug.log is about the best we can do here, the
|
|
|
|