diff --git a/tests/rpc/rpc_03-chain_test.go b/tests/rpc/rpc_03-chain_test.go index 344bfb1790..a05010f4a2 100644 --- a/tests/rpc/rpc_03-chain_test.go +++ b/tests/rpc/rpc_03-chain_test.go @@ -162,7 +162,7 @@ func TestChainSubscriptionRPC(t *testing.T) { //nolint:tparallel result := getResultMapFromParams(t, params) number := getResultNumber(t, result) - assert.GreaterOrEqual(t, uint(i+1), number) + assert.GreaterOrEqual(t, number, uint(i+1)) assertResult32BHex(t, result, "parentHash") assertResult32BHex(t, result, "stateRoot")