From 79a4a48c382b12689434e3d52c3dd4a6e81bf6fc Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 26 Jul 2020 14:58:49 -0400 Subject: [PATCH] Fix zaddr logging --- src/wallet/asyncrpcoperation_sendmany.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wallet/asyncrpcoperation_sendmany.cpp b/src/wallet/asyncrpcoperation_sendmany.cpp index 1b709b142..edcee1b76 100644 --- a/src/wallet/asyncrpcoperation_sendmany.cpp +++ b/src/wallet/asyncrpcoperation_sendmany.cpp @@ -473,14 +473,13 @@ bool AsyncRPCOperation_sendmany::main_impl() { // Add Sapling outputs for (auto r : z_outputs_) { auto address = std::get<0>(r); - auto value = std::get<1>(r); + auto value = std::get<1>(r); auto hexMemo = std::get<2>(r); - - auto addr = DecodePaymentAddress(address); + auto addr = DecodePaymentAddress(address); assert(boost::get(&addr) != nullptr); auto to = boost::get(addr); if(fZdebug) - LogPrintf("%s: Adding Sapling output to address %s\n", __FUNCTION__, to.GetHash().ToString().c_str()); + LogPrintf("%s: Adding Sapling output to address %s\n", __FUNCTION__, address.c_str()); auto memo = get_memo_from_hex_string(hexMemo);