Add z_sweepstatus RPC
This commit is contained in:
@@ -2086,6 +2086,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
||||
}
|
||||
auto hasSpendingKey = boost::apply_visitor(HaveSpendingKeyForPaymentAddress(pwalletMain), zSweep);
|
||||
auto allowSweepToExternalWallet = GetArg("-zsweepexternal", false);
|
||||
pwalletMain->sweepAddress = vSweep[i];
|
||||
|
||||
if (!hasSpendingKey) {
|
||||
if (allowSweepToExternalWallet) {
|
||||
|
||||
Reference in New Issue
Block a user