Addresses Tab -> Encrypt/Decrypt -> When Public key is made invalid/blank, proper error message should be displayed
Current Behavior
Addresses Tab -> Encrypt/Decrypt -> When Public key is made invalid/blank, error message is displayed but not clear to the user
Possible Solution
Steps to Reproduce
1.Open a wallet
2.Go to addresses tab,right click on a particular address and select encrypt/decrypt in the pop up
3.In the encrypt/decrypt window enter text in message text field blank, remove the public key/edit it with a new character and click on Encrypt
4.Application throws an error msg "Non-Hexdecimal number found in hexarg() at position 66".It can be a meaningful message that is understandable by the user.
Context
User understable error message such as "Invalid Public Key" can be displayed instead
Expected Behavior
Addresses Tab -> Encrypt/Decrypt -> When Public key is made invalid/blank, proper error message should be displayed
Current Behavior
Addresses Tab -> Encrypt/Decrypt -> When Public key is made invalid/blank, error message is displayed but not clear to the user
Possible Solution
Steps to Reproduce
1.Open a wallet 2.Go to addresses tab,right click on a particular address and select encrypt/decrypt in the pop up 3.In the encrypt/decrypt window enter text in message text field blank, remove the public key/edit it with a new character and click on Encrypt 4.Application throws an error msg "Non-Hexdecimal number found in hexarg() at position 66".It can be a meaningful message that is understandable by the user.
Context
User understable error message such as "Invalid Public Key" can be displayed instead
Your Environment
Note : Issue exists in Bitcoin also