Fix export history flag read

This commit is contained in:
Sina Mahmoodi 2026-01-22 23:13:20 +01:00
parent c967b10f54
commit e6e4d7a22b

View file

@ -566,7 +566,7 @@ func exportHistory(ctx *cli.Context) error {
}
var (
format = ctx.String(utils.EraFormatFlag.Get(ctx))
format = ctx.String(utils.EraFormatFlag.Name)
filename func(network string, epoch int, root common.Hash) string
newBuilder func(w io.Writer) era.Builder
)