Show actual zaddr in z_getoperationstatus output if it was automagic

This commit is contained in:
Duke Leto
2021-04-16 15:17:29 -04:00
parent 2f2c0cee17
commit 1123ccf7bb

View File

@@ -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))));