Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
fix chainId test
Browse files Browse the repository at this point in the history
  • Loading branch information
didaunesp committed Feb 19, 2024
1 parent b2b45ee commit cb14947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quaiclient/ethclient/ethclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit cb14947

Please sign in to comment.