From cb14947a17facb70b12e2d7c77b3a2de92e7da1c Mon Sep 17 00:00:00 2001 From: Guilherme Ferreira Date: Fri, 16 Feb 2024 14:49:02 -0300 Subject: [PATCH] fix chainId test --- quaiclient/ethclient/ethclient_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quaiclient/ethclient/ethclient_test.go b/quaiclient/ethclient/ethclient_test.go index 6496164c4b..31c5324af2 100644 --- a/quaiclient/ethclient/ethclient_test.go +++ b/quaiclient/ethclient/ethclient_test.go @@ -275,7 +275,7 @@ func testChainID(t *testing.T, client *rpc.Client) { if err != nil { t.Fatalf("unexpected error: %v", err) } - if id == nil || id.Cmp(params.AllProgpowProtocolChanges.ChainID) != 0 { + if id == nil || id.Cmp(big.NewInt(1)) != 0 { t.Fatalf("ChainID returned wrong number: %+v", id) } }