diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-14 18:46:32 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-14 18:46:32 +0800 |
commit | 51df765e3892285bda6d40340dc6febfcd2e7ce6 (patch) | |
tree | eb55d41ec2f62babef19af22e7fadf5280935d47 /cmd | |
parent | b927c29469864424a97c06ff2f31e2d882b01cd7 (diff) | |
parent | 9754e7aca79a3d24ac17589f548072a4dca68fbb (diff) | |
download | dexon-51df765e3892285bda6d40340dc6febfcd2e7ce6.tar.gz dexon-51df765e3892285bda6d40340dc6febfcd2e7ce6.tar.zst dexon-51df765e3892285bda6d40340dc6febfcd2e7ce6.zip |
Merge pull request #481 from maran/feature/fromHexDry
DRY-up the use of fromHex in the project
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ethereum/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go index 8b01457e6..4cb2d9979 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) } |