Code refactoring: Separated out class Tree from main object Store

No functionality change intended.
This commit is contained in:
Vishal
2022-09-01 03:51:57 +05:30
parent fdf60566da
commit b153f29f20
5 changed files with 377 additions and 383 deletions

View File

@@ -689,7 +689,7 @@ String getAuthorName(String pubkey) {
Set<String> getPublicKeyFromName(String userName) {
Set<String> pubkeys = {};
print("In getPublicKeyFromName: doing lookup for $userName len of gKindONames= ${gKindONames.length}");
if(gDebug > 0) print("In getPublicKeyFromName: doing lookup for $userName len of gKindONames= ${gKindONames.length}");
gKindONames.forEach((pk, value) {
// check both the user name, and the pubkey to search for the user
@@ -704,7 +704,6 @@ Set<String> getPublicKeyFromName(String userName) {
}
});
print("returning $pubkeys");
return pubkeys;
}