good morning!!!!

Skip to content
Snippets Groups Projects
Commit cdeae223 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Merge pull request #949 from bas-vk/issue944

removed invalid filename characters
parents e4aa011d e30e9fe9
No related branches found
No related tags found
No related merge requests found
...@@ -563,7 +563,7 @@ func upgradeDb(ctx *cli.Context) { ...@@ -563,7 +563,7 @@ func upgradeDb(ctx *cli.Context) {
bcVersion = core.BlockChainVersion 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) exportFile := filepath.Join(ctx.GlobalString(utils.DataDirFlag.Name), filename)
err = utils.ExportChain(ethereum.ChainManager(), exportFile) err = utils.ExportChain(ethereum.ChainManager(), exportFile)
......
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