diff --git a/lite2/client.go b/lite2/client.go index 446e272f7..4d49c9cac 100644 --- a/lite2/client.go +++ b/lite2/client.go @@ -89,6 +89,11 @@ func SkippingVerification(trustLevel tmmath.Fraction) Option { // current primary is unavailable. func Witnesses(providers []provider.Provider) Option { return func(c *Client) { + for _, witness := range providers { + if witness.ChainID() != c.ChainID() { + panic("Witness chainID is not equal to the Lite Client chainID") + } + } c.witnesses = providers } }