Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

"Wrong password" in transaction when account has no Ether (same password works when account has Ether) #948

Closed
leonardoalt opened this issue Jul 11, 2016 · 6 comments

Comments

@leonardoalt
Copy link
Member

Node type: geth
OS: linux
Network type: main
Mist version: 0.8.0

I created a new account, and didn't transfer anything to it.
Then I went and try the "Nutella statement" (https://ethereum.github.io/stake-voice/?proposal=Nutella%20is%20overrated). I linked my new account with the poll and voted. After typing my password for the transaction, it says wrong password.

After transferring some Ether to this new account, I tried the same and it worked (copy pasted passwd both times).

The console doesn't show any error when I get the "wrong passwd" error, only the gas:
/home/---/Mist-linux64-0-8-0/resources/app.asar/modules/preloader/include/consoleLogCapt…:44 Choosen Gas: 0x1ea2d 125485 @ file:///home/---/Mist-linux64-0-8-0/resources/app.asar/interface/72e28bdeb9e53941da7ddd0224722efb7339d70b.js:283:2957)

I guess it was correct not to allow my transaction, but the error message was misleading.

@leonardoalt leonardoalt changed the title "Wrong password" error message in transaction when account has no Ether (and password is correct) "Wrong password" in transaction when account has no Ether (same password works when account has Ether) Jul 11, 2016
@luclu
Copy link
Contributor

luclu commented Jul 11, 2016

Thanks for reporting @leonardoalt
This is a known bug that is ought to be fixed in the next release #664

I will keep this open for now as this remains on the first page and is more likely to be found.

@luclu
Copy link
Contributor

luclu commented Jul 11, 2016

We will try to catch this error by string for now. But to ensure compatibility to other nodes these error codes will be implemented by the nodes.

@luclu
Copy link
Contributor

luclu commented Jul 17, 2016

Could you please have a try with 0.8.1 and post its error message?

@leonardoalt
Copy link
Member Author

Thanks for the update @luclu
Now I get the message "Account does not exist or account balance too low"
Looks good!

@luclu
Copy link
Contributor

luclu commented Jul 18, 2016

Now I get the message "Account does not exist or account balance too low"

This happens when an account has 0 balance or simply does not exist (yet), i.e. there’s no state object in the state trie.

@luclu luclu closed this as completed Sep 17, 2016
@lock
Copy link

lock bot commented Mar 31, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Mar 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants