From 1123ccf7bbf9dfcbb29067dc12d1dc1a571c8750 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Fri, 16 Apr 2021 15:17:29 -0400 Subject: [PATCH] Show actual zaddr in z_getoperationstatus output if it was automagic --- src/wallet/rpcwallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 9379295c3..a7f8658ae 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4942,7 +4942,7 @@ UniValue z_sendmany(const UniValue& params, bool fHelp, const CPubKey& mypk) // Use input parameters as the optional context info to be returned by z_getoperationstatus and z_getoperationresult. UniValue o(UniValue::VOBJ); - o.push_back(Pair("fromaddress", params[0])); + o.push_back(Pair("fromaddress", fromaddress)); o.push_back(Pair("amounts", params[1])); o.push_back(Pair("minconf", nMinDepth)); o.push_back(Pair("fee", std::stod(FormatMoney(nFee))));