From 7001daee3ce486ff4cb44d26a73f42c1ca68ba39 Mon Sep 17 00:00:00 2001 From: erqan Date: Wed, 27 May 2015 12:31:51 +0300 Subject: [PATCH] excluding groups from userlist --- src/rpcwallet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index e81be240..254aae06 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -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; }