From 23f35f2e4799b743f3dd68c808aad9dbb88822aa Mon Sep 17 00:00:00 2001
From: tykayn <tykayn@gmail.com>
Date: Mon, 6 Apr 2020 17:03:37 +0200
Subject: [PATCH] [feat] show public key when asking to change keypair :zap:

---
 app/modules/keypair/index.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/modules/keypair/index.ts b/app/modules/keypair/index.ts
index 053b2ba6d..21f88e9ad 100644
--- a/app/modules/keypair/index.ts
+++ b/app/modules/keypair/index.ts
@@ -189,7 +189,8 @@ async function promptKey(conf: KeypairConfDTO, program: any) {
     {
       type: "confirm",
       name: "change",
-      message: "Modify your keypair?",
+      message: `This node's current public key is: ${conf.pair.pub} 
+ Modify your keypair?`,
       default: changeKeypair,
     },
   ]);
-- 
GitLab