Skip to content

Commit

Permalink
Merge pull request bnb-chain#14 from Ankr-network/zero-gas-flag-fix
Browse files Browse the repository at this point in the history
Fixed bug with parsing zero gas fee flags
  • Loading branch information
hedwig0x authored May 20, 2022
2 parents 6c4f5d0 + dd21e85 commit c3877ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ var (
utils.TxPoolGlobalQueueFlag,
utils.TxPoolLifetimeFlag,
utils.TxPoolReannounceTimeFlag,
utils.TxPoolGasFreeContracts,
utils.SyncModeFlag,
utils.ExitWhenSyncedFlag,
utils.GCModeFlag,
Expand Down
1 change: 1 addition & 0 deletions cmd/geth/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ var AppHelpFlagGroups = []flags.FlagGroup{
utils.TxPoolGlobalQueueFlag,
utils.TxPoolLifetimeFlag,
utils.TxPoolReannounceTimeFlag,
utils.TxPoolGasFreeContracts,
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ var (
Usage: "Duration for announcing local pending transactions again (default = 10 years, minimum = 1 minute)",
Value: ethconfig.Defaults.TxPool.ReannounceTime,
}
TxPoolGasFreeContracts = cli.DurationFlag{
TxPoolGasFreeContracts = cli.StringSliceFlag{
Name: "txpool.gasfreecontracts",
Usage: "Comma delimited list of the gas free smart contracts",
}
Expand Down

0 comments on commit c3877ae

Please sign in to comment.