aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@ziggo.nl>2015-05-13 18:38:12 +0800
committerBas van Kervel <basvankervel@ziggo.nl>2015-05-13 18:38:12 +0800
commite30e9fe97983b41a8755f9d36ba4a3ac43ce77c7 (patch)
tree6f920afd0293a891ae10c2c54434d0a59814c4c6 /cmd/geth
parent6dec90464dc2a263a5bcb72fdbff6c5439fb07dc (diff)
downloadgo-tangerine-e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7.tar
go-tangerine-e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7.tar.gz
go-tangerine-e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7.tar.bz2
go-tangerine-e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7.tar.lz
go-tangerine-e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7.tar.xz
go-tangerine-e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7.tar.zst
go-tangerine-e30e9fe97983b41a8755f9d36ba4a3ac43ce77c7.zip
removed invalid filename characters
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go2
1 files changed, 1 insertions, 1 deletions
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)