Skip to content
Snippets Groups Projects
Commit 23f35f2e authored by tykayn's avatar tykayn
Browse files

[feat] show public key when asking to change keypair :zap:

parent d9310e29
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,8 @@ async function promptKey(conf: KeypairConfDTO, program: any) { ...@@ -189,7 +189,8 @@ async function promptKey(conf: KeypairConfDTO, program: any) {
{ {
type: "confirm", type: "confirm",
name: "change", name: "change",
message: "Modify your keypair?", message: `This node's current public key is: ${conf.pair.pub}
Modify your keypair?`,
default: changeKeypair, default: changeKeypair,
}, },
]); ]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment