Show actual zaddr in z_getoperationstatus output if it was automagic
This commit is contained in:
@@ -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.
|
// Use input parameters as the optional context info to be returned by z_getoperationstatus and z_getoperationresult.
|
||||||
UniValue o(UniValue::VOBJ);
|
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("amounts", params[1]));
|
||||||
o.push_back(Pair("minconf", nMinDepth));
|
o.push_back(Pair("minconf", nMinDepth));
|
||||||
o.push_back(Pair("fee", std::stod(FormatMoney(nFee))));
|
o.push_back(Pair("fee", std::stod(FormatMoney(nFee))));
|
||||||
|
|||||||
Reference in New Issue
Block a user