init: Inform on error that -mineraddress must be Sapling or transparent
This commit is contained in:
parent
6fd1b7c2e4
commit
d8f0bc9e21
|
@ -1044,7 +1044,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||
boost::get<libzcash::SaplingPaymentAddress>(&zaddr) == nullptr)
|
||||
{
|
||||
return InitError(strprintf(
|
||||
_("Invalid address for -mineraddress=<addr>: '%s'"),
|
||||
_("Invalid address for -mineraddress=<addr>: '%s' (must be a Sapling or transparent address)"),
|
||||
mapArgs["-mineraddress"]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue