mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 14:28:22 +00:00
Merge pull request #336 from erqan/listwalletuser
excluding groups from userlist
This commit is contained in:
commit
c4b0558e46
@ -172,6 +172,7 @@ Value listwalletusers(const Array& params, bool fHelp)
|
|||||||
LOCK(pwalletMain->cs_wallet);
|
LOCK(pwalletMain->cs_wallet);
|
||||||
BOOST_FOREACH(const PAIRTYPE(CKeyID, CKeyMetadata)& item, pwalletMain->mapKeyMetadata)
|
BOOST_FOREACH(const PAIRTYPE(CKeyID, CKeyMetadata)& item, pwalletMain->mapKeyMetadata)
|
||||||
{
|
{
|
||||||
|
if (item.second.username[0] != '*')
|
||||||
ret.push_back(item.second.username);
|
ret.push_back(item.second.username);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user