From 71d541d351dc920c86b01e0fa5691bca1fb9d85b Mon Sep 17 00:00:00 2001 From: blockpinetwork <90677657+blockpinetwork@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:30:08 +0800 Subject: [PATCH] fix: json-rpc.allow-unprotected-txs --- server/config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/config/config.go b/server/config/config.go index 0d2b433c71..20ddf48218 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -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"),