mirror of
https://git.hush.is/hush/hush3.git
synced 2025-12-06 00:02:32 -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 {
|
} else {
|
||||||
|
LogPrintf("%s: No zsweepaddress configured, exiting\n", opid);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (boost::get<libzcash::SaplingPaymentAddress>(&rpcSweepAddress) != nullptr) {
|
if (boost::get<libzcash::SaplingPaymentAddress>(&rpcSweepAddress) != nullptr) {
|
||||||
sweepAddress = boost::get<libzcash::SaplingPaymentAddress>(rpcSweepAddress);
|
sweepAddress = boost::get<libzcash::SaplingPaymentAddress>(rpcSweepAddress);
|
||||||
} else {
|
} else {
|
||||||
|
LogPrintf("%s: Invalid zsweepaddress, exiting\n", opid);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user