good morning!!!!

Skip to content
Snippets Groups Projects
Commit 9754e7ac authored by Maran Hidskes's avatar Maran Hidskes
Browse files

Support for addresses with or without 0x. Fixes #472

parent 99199335
No related branches found
No related tags found
Loading
......@@ -197,7 +197,7 @@ func startEth(ctx *cli.Context, eth *eth.Ethereum) {
}
am := eth.AccountManager()
// Attempt to unlock the account
err := am.Unlock(ethutil.Hex2Bytes(split[0]), split[1])
err := am.Unlock(ethutil.FromHex(split[0]), split[1])
if err != nil {
utils.Fatalf("Unlock account failed '%v'", err)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment