Browse Source

Merge pull request #336 from erqan/listwalletuser

excluding groups from userlist
miguelfreitas
miguelfreitas 10 years ago
parent
commit
c4b0558e46
  1. 3
      src/rpcwallet.cpp

3
src/rpcwallet.cpp

@ -172,7 +172,8 @@ Value listwalletusers(const Array& params, bool fHelp) @@ -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;
}

Loading…
Cancel
Save