mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 12:16:44 +00:00
Fix export history flag read
This commit is contained in:
parent
c967b10f54
commit
e6e4d7a22b
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ func exportHistory(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
format = ctx.String(utils.EraFormatFlag.Get(ctx))
|
format = ctx.String(utils.EraFormatFlag.Name)
|
||||||
filename func(network string, epoch int, root common.Hash) string
|
filename func(network string, epoch int, root common.Hash) string
|
||||||
newBuilder func(w io.Writer) era.Builder
|
newBuilder func(w io.Writer) era.Builder
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue