mirror of
https://git.hush.is/hush/hush3.git
synced 2025-12-04 00:04:59 -05:00
Log if we have no zsweepaddress or an invalid zsweepaddress
This commit is contained in:
parent
1748f0f2a3
commit
702c2163cd
@ -103,12 +103,14 @@ bool AsyncRPCOperation_sweep::main_impl() {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
LogPrintf("%s: No zsweepaddress configured, exiting\n", opid);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (boost::get<libzcash::SaplingPaymentAddress>(&rpcSweepAddress) != nullptr) {
|
||||
sweepAddress = boost::get<libzcash::SaplingPaymentAddress>(rpcSweepAddress);
|
||||
} else {
|
||||
LogPrintf("%s: Invalid zsweepaddress, exiting\n", opid);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user