From b5b53d8b32758fba1ad675c0bd51aa4f83aed268 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Wed, 13 May 2015 01:11:17 +0200 Subject: Fix hex conversion in --unlock and log when successful --- cmd/geth/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/geth/main.go') diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 1582953f7..b4d7feed1 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -368,10 +368,11 @@ func unlockAccount(ctx *cli.Context, am *accounts.Manager, account string) (pass if len(account) == 0 { utils.Fatalf("Invalid account address '%s'", account) } - err = am.Unlock(common.StringToAddress(account), passphrase) + err = am.Unlock(common.HexToAddress(account), passphrase) if err != nil { utils.Fatalf("Unlock account failed '%v'", err) } + fmt.Printf("Account '%s' unlocked.\n", account) return } -- cgit v1.2.3 From e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Wed, 13 May 2015 12:38:12 +0200 Subject: removed invalid filename characters --- cmd/geth/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/geth/main.go') diff --git a/cmd/geth/main.go b/cmd/geth/main.go index b4d7feed1..725f04efe 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -563,7 +563,7 @@ func upgradeDb(ctx *cli.Context) { bcVersion = core.BlockChainVersion } - filename := fmt.Sprintf("blockchain_%d_%s.chain", bcVersion, time.Now().Format("2006-01-02_15:04:05")) + filename := fmt.Sprintf("blockchain_%d_%s.chain", bcVersion, time.Now().Format("20060102_150405")) exportFile := filepath.Join(ctx.GlobalString(utils.DataDirFlag.Name), filename) err = utils.ExportChain(ethereum.ChainManager(), exportFile) -- cgit v1.2.3 From 7ea76fcf993f3fecb55233bdcc2409618d9080b9 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 15 May 2015 23:53:41 +0200 Subject: core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21 --- cmd/geth/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cmd/geth/main.go') diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 725f04efe..158b08796 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -50,7 +50,7 @@ import _ "net/http/pprof" const ( ClientIdentifier = "Geth" - Version = "0.9.20" + Version = "0.9.21" ) var ( @@ -283,8 +283,6 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso } func main() { - //fmt.Printf("\n 🌞\n\n α΄‘α΄‡ΚŸα΄„α΄α΄α΄‡ ᴛᴏ α΄›Κœα΄‡\n 𝐅 𝐑 𝐎 𝐍 𝐓 𝐈 𝐄 𝐑\n\n🌾 🌡🌾🌾 🐎 🌾 🌡 🌾\n\n") - fmt.Println("\n Welcome to the\n FRONTIER\n") runtime.GOMAXPROCS(runtime.NumCPU()) defer logger.Flush() if err := app.Run(os.Args); err != nil { -- cgit v1.2.3