mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-06 19:35:04 +00:00
Merge pull request #949 from bas-vk/issue944
removed invalid filename characters
This commit is contained in:
commit
cdeae22356
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue