Add output index to z_listlockunspent
This commit is contained in:
@@ -2678,6 +2678,7 @@ UniValue z_listlockunspent(const UniValue& params, bool fHelp, const CPubKey& my
|
||||
UniValue o(UniValue::VOBJ);
|
||||
|
||||
o.push_back(Pair("txid", op.hash.GetHex()));
|
||||
o.push_back(Pair("n", (int) op.n));
|
||||
ret.push_back(o);
|
||||
}
|
||||
|
||||
@@ -4120,7 +4121,6 @@ UniValue z_getbalances(const UniValue& params, bool fHelp, const CPubKey& mypk)
|
||||
return results;
|
||||
}
|
||||
|
||||
|
||||
UniValue z_listunspent(const UniValue& params, bool fHelp, const CPubKey& mypk)
|
||||
{
|
||||
if (!EnsureWalletIsAvailable(fHelp))
|
||||
|
||||
Reference in New Issue
Block a user