casinocoin / casinocoin-token-wallet

CasinoCoin Token Wallet for the Desktop
MIT License
2 stars 0 forks source link

Unable to "Show secret" from an external account #16

Open doc- opened 4 years ago

doc- commented 4 years ago

After importing a private key (Tools > Import Private Key) without moving funds (toggle Import only ON), I can't show secret by right clicking on the account.

The modal shows up, but after I entered the wallet password, the secret key does not appear.

(Linux Wallet 5.0.8, Ubuntu 19.10)

t3nshi commented 4 years ago

Would you consider to expand the info and the steps to reproduce a bit. I tried what you said and for me it works without issue. It shows the secret of the external account.

doc- commented 4 years ago

Steps to reproduce: Open your Wallet. Import a private key without moving funds. Go to "Wallet" Menu. You can see your newly imported key as an "External account". Right click on it and click on "Show account secret". Type your wallet password. Click "Show secret" button.

Expected result: the seed with the copy/paste icon. Got result: the seed does not show up (the icon is visible though).

Tested with a main account (not external, the seed does show up) and 4 external accounts (no seed for any of these accounts).

t3nshi commented 4 years ago

that is what I'm saying. I already performed these steps and the secret shows without an issue. Are there anything else relevant about these that you have yet to mention? I tested by importing an account from another wallet, It is now external. I right click to show the secret and after entering the password the secret is there.

doc- commented 4 years ago

The only thing that may be specific is that the seed comes from a production CRN. Also, the wallet runs on Ubuntu 19.10. That's all, I tried closing / reopening the wallet and also rebooting the machine: still same result.

Plus, I don't have a specific error logging in the console when I click the "Show secret" button.

But here are the errors I get when I launch the wallet from the terminal, these may not be correlated but it could help:

(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
(node:30105) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/CasinoCoin Token Wallet/resources/app-update.yml'
(node:30105) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:30105) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.