diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go index 8b01457e66224ef6b0262e7fbcea80926dfeeeab..4cb2d997903e7727149a2f26dcbe6b9897b9cab7 100644 --- a/cmd/ethereum/main.go +++ b/cmd/ethereum/main.go @@ -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) }