mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix typo
This commit is contained in:
parent
0d956d6dd7
commit
e1f09e47f1
1 changed files with 1 additions and 1 deletions
|
|
@ -1595,7 +1595,7 @@ func SetEthConfig(ctx *cli.Context, stack *node.Node, cfg *ethconfig.Config) {
|
|||
ctx.GlobalSet(TxLookupLimitFlag.Name, "0")
|
||||
log.Warn("Disable transaction unindexing for archive node")
|
||||
}
|
||||
if ctx.GlobalString(GCModeFlag.Name) == "archive" && ctx.GlobalIsSet(AncientRecentLimitFlag.Name) != 0 {
|
||||
if ctx.GlobalString(GCModeFlag.Name) == "archive" && ctx.GlobalUint64(AncientRecentLimitFlag.Name) != 0 {
|
||||
ctx.GlobalSet(AncientRecentLimitFlag.Name, "0")
|
||||
log.Warn("Disable ancient prunning for archive node")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue