Skip to content

Commit

Permalink
fix: json-rpc.allow-unprotected-txs (#1691)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Bertrand <[email protected]>
Co-authored-by: brewmaster012 <[email protected]>
  • Loading branch information
3 people authored Feb 3, 2024
1 parent 62e7f7f commit 7572fad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ func GetConfig(v *viper.Viper) (Config, error) {
BlockRangeCap: v.GetInt32("json-rpc.block-range-cap"),
HTTPTimeout: v.GetDuration("json-rpc.http-timeout"),
HTTPIdleTimeout: v.GetDuration("json-rpc.http-idle-timeout"),
AllowUnprotectedTxs: v.GetBool("json-rpc.allow-unprotected-txs"),
MaxOpenConnections: v.GetInt("json-rpc.max-open-connections"),
EnableIndexer: v.GetBool("json-rpc.enable-indexer"),
MetricsAddress: v.GetString("json-rpc.metrics-address"),
Expand Down

0 comments on commit 7572fad

Please sign in to comment.