Formatting
This commit is contained in:
parent
eec85c4388
commit
fbd029d99d
|
@ -3172,7 +3172,7 @@ UniValue z_listaddresses(const UniValue& params, bool fHelp)
|
||||||
{
|
{
|
||||||
std::set<libzcash::SproutPaymentAddress> addresses;
|
std::set<libzcash::SproutPaymentAddress> addresses;
|
||||||
pwalletMain->GetPaymentAddresses(addresses);
|
pwalletMain->GetPaymentAddresses(addresses);
|
||||||
for (auto addr : addresses ) {
|
for (auto addr : addresses) {
|
||||||
if (fIncludeWatchonly || pwalletMain->HaveSpendingKey(addr)) {
|
if (fIncludeWatchonly || pwalletMain->HaveSpendingKey(addr)) {
|
||||||
ret.push_back(EncodePaymentAddress(addr));
|
ret.push_back(EncodePaymentAddress(addr));
|
||||||
}
|
}
|
||||||
|
@ -3183,7 +3183,7 @@ UniValue z_listaddresses(const UniValue& params, bool fHelp)
|
||||||
pwalletMain->GetSaplingPaymentAddresses(addresses);
|
pwalletMain->GetSaplingPaymentAddresses(addresses);
|
||||||
libzcash::SaplingIncomingViewingKey ivk;
|
libzcash::SaplingIncomingViewingKey ivk;
|
||||||
libzcash::SaplingFullViewingKey fvk;
|
libzcash::SaplingFullViewingKey fvk;
|
||||||
for (auto addr : addresses ) {
|
for (auto addr : addresses) {
|
||||||
if (fIncludeWatchonly || (
|
if (fIncludeWatchonly || (
|
||||||
pwalletMain->GetSaplingIncomingViewingKey(addr, ivk) &&
|
pwalletMain->GetSaplingIncomingViewingKey(addr, ivk) &&
|
||||||
pwalletMain->GetSaplingFullViewingKey(ivk, fvk) &&
|
pwalletMain->GetSaplingFullViewingKey(ivk, fvk) &&
|
||||||
|
|
Loading…
Reference in New Issue