Skip to content

Commit

Permalink
fix: change fallback client threshold to 10 from 20 (#88)
Browse files Browse the repository at this point in the history
Co-authored-by: Welkin <[email protected]>
  • Loading branch information
welkin22 and Welkin committed Nov 21, 2023
1 parent 5ce8a9c commit 9505ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/sources/fallback_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9505ae8

Please sign in to comment.