diff --git a/src/lib_client_commands/client_keys_commands.ml b/src/lib_client_commands/client_keys_commands.ml index ac9a8b015..1f3110e0b 100644 --- a/src/lib_client_commands/client_keys_commands.ml +++ b/src/lib_client_commands/client_keys_commands.ml @@ -181,6 +181,9 @@ let commands () : Client_context.io_wallet Clic.command list = please don't use -force" name) end >>=? fun () -> Client_keys.public_key_hash pk_uri >>=? fun pkh -> + cctxt#message + "Tezos address added: %a" + Signature.Public_key_hash.pp pkh >>= fun () -> register_key cctxt ~force (pkh, pk_uri, sk_uri) name) ; command ~group ~desc: "Add a public key to the wallet." @@ -194,6 +197,9 @@ let commands () : Client_context.io_wallet Clic.command list = Public_key.of_fresh cctxt force name >>=? fun name -> Client_keys.public_key_hash pk_uri >>=? fun pkh -> Public_key_hash.add ~force cctxt name pkh >>=? fun () -> + cctxt#message + "Tezos address added: %a" + Signature.Public_key_hash.pp pkh >>= fun () -> Public_key.add ~force cctxt name pk_uri) ; command ~group ~desc: "Add an identity to the wallet."