From 254640c333d322551320ed8382f596ff92171a3d Mon Sep 17 00:00:00 2001 From: Welkin Date: Fri, 17 Nov 2023 15:23:55 +0800 Subject: [PATCH] fix: change fallback client threshold to 10 from 20 --- op-node/sources/fallback_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op-node/sources/fallback_client.go b/op-node/sources/fallback_client.go index c8ed56f1a7..67639a5ae9 100644 --- a/op-node/sources/fallback_client.go +++ b/op-node/sources/fallback_client.go @@ -42,7 +42,7 @@ type FallbackClient struct { metrics metrics.Metricer } -const threshold int64 = 20 +const threshold int64 = 10 // NewFallbackClient returns a new FallbackClient. l1ChainId and l1Block are used to check // whether the newly switched rpc is legal.