Correct error messsage about invalid zsweepexclude address
This commit is contained in:
@@ -2123,7 +2123,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
LogPrintf("Sweep Excluded Address: %s\n", vSweepExclude[i]);
|
||||
auto zSweepExcluded = DecodePaymentAddress(vSweepExclude[i]);
|
||||
if (!IsValidPaymentAddress(zSweepExcluded)) {
|
||||
return InitError("Invalid zsweep address");
|
||||
return InitError("Invalid zsweepexclude address");
|
||||
}
|
||||
auto hasSpendingKey = boost::apply_visitor(HaveSpendingKeyForPaymentAddress(pwalletMain), zSweepExcluded);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user