From 805a130d243134833034544ffc7e61976516f4c5 Mon Sep 17 00:00:00 2001 From: Vishal <64505169+vishalxl@users.noreply.github.com> Date: Thu, 15 Sep 2022 01:08:18 +0530 Subject: [PATCH] displayed name with public ids printed.. in case there are more than 1 when looking up a profile --- lib/console_ui.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/console_ui.dart b/lib/console_ui.dart index b50c74c..83133a3 100644 --- a/lib/console_ui.dart +++ b/lib/console_ui.dart @@ -301,7 +301,7 @@ Future otherMenuUi(Store node) async { if( userName != "") { Set pubkey = getPublicKeyFromName(userName); print("There are ${ pubkey.length} public keys for the given name, which are/is: "); - pubkey.forEach( (x) => print(" $x")); + pubkey.forEach( (x) => print(" $x ( ${gKindONames[x]?.name} )")); if( pubkey.length > 1) { if( pubkey.length > 1) { print("Got multiple users with the same name. Try again, and try to type a more unique name or id-prefix");