excluding groups from userlist

This commit is contained in:
erqan 2015-05-27 12:31:51 +03:00
parent 91de877a4d
commit 7001daee3c

View File

@ -172,7 +172,8 @@ Value listwalletusers(const Array& params, bool fHelp)
LOCK(pwalletMain->cs_wallet);
BOOST_FOREACH(const PAIRTYPE(CKeyID, CKeyMetadata)& item, pwalletMain->mapKeyMetadata)
{
ret.push_back(item.second.username);
if (item.second.username[0] != '*')
ret.push_back(item.second.username);
}
return ret;
}