From 88d3f116647356d367478e76b36ba850c4409170 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 13 Sep 2022 00:18:44 -0400 Subject: [PATCH] Save excluded address to be used later --- src/init.cpp | 1 + 1 file changed, 1 insertion(+) 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");