init: Inform on error that -mineraddress must be Sapling or transparent

This commit is contained in:
Jack Grigg 2020-03-06 13:18:04 +13:00
parent 6fd1b7c2e4
commit d8f0bc9e21
1 changed files with 1 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
boost::get<libzcash::SaplingPaymentAddress>(&zaddr) == nullptr) boost::get<libzcash::SaplingPaymentAddress>(&zaddr) == nullptr)
{ {
return InitError(strprintf( return InitError(strprintf(
_("Invalid address for -mineraddress=<addr>: '%s'"), _("Invalid address for -mineraddress=<addr>: '%s' (must be a Sapling or transparent address)"),
mapArgs["-mineraddress"])); mapArgs["-mineraddress"]));
} }
} }