Browse Source

excluding groups from userlist

miguelfreitas
erqan 10 years ago
parent
commit
7001daee3c
  1. 1
      src/rpcwallet.cpp

1
src/rpcwallet.cpp

@ -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…
Cancel
Save