parent
ee4daed835
commit
b6804678f2
@ -2421,7 +2421,7 @@ UniValue getwalletinfo(const UniValue& params, bool fHelp)
|
|||||||
obj.push_back(Pair("hdchainid", hdChainCurrent.GetID().GetHex()));
|
obj.push_back(Pair("hdchainid", hdChainCurrent.GetID().GetHex()));
|
||||||
obj.push_back(Pair("hdaccountcount", (int64_t)hdChainCurrent.CountAccounts()));
|
obj.push_back(Pair("hdaccountcount", (int64_t)hdChainCurrent.CountAccounts()));
|
||||||
UniValue accounts(UniValue::VARR);
|
UniValue accounts(UniValue::VARR);
|
||||||
for (int i = 0; i < hdChainCurrent.CountAccounts(); ++i)
|
for (size_t i = 0; i < hdChainCurrent.CountAccounts(); ++i)
|
||||||
{
|
{
|
||||||
CHDAccount acc;
|
CHDAccount acc;
|
||||||
UniValue account(UniValue::VOBJ);
|
UniValue account(UniValue::VOBJ);
|
||||||
|
Loading…
Reference in New Issue
Block a user