diff --git a/src/init.cpp b/src/init.cpp index 3b0bc6bcd..025d448e9 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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");