Browse Source

Correct error messsage about invalid zsweepexclude address

pull/195/head
Duke Leto 2 years ago
parent
commit
62c9bce6f7
  1. 2
      src/init.cpp

2
src/init.cpp

@ -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);

Loading…
Cancel
Save