Save excluded address to be used later
This commit is contained in:
@@ -2121,6 +2121,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
|
||||
for (int i = 0; i < vSweepExclude.size(); i++) {
|
||||
// LogPrintf("Sweep Excluded Address: %s\n", vSweepExclude[i]);
|
||||
pwalletMain->sweepExcludeAddress = vSweepExclude[i];
|
||||
auto zSweepExcluded = DecodePaymentAddress(vSweepExclude[i]);
|
||||
if (!IsValidPaymentAddress(zSweepExcluded)) {
|
||||
return InitError("Invalid zsweep address");
|
||||
|
||||
Reference in New Issue
Block a user