Commit 9a50468b authored by Felipe Andrade's avatar Felipe Andrade

fix test

parent 8b63fa82
......@@ -73,7 +73,11 @@ func TestRPCCacheImmutableRPCs(t *testing.T) {
Params: []byte(`["earliest", false]`),
ID: ID,
},
res: nil,
res: &RPCRes{
JSONRPC: "2.0",
Result: `{"difficulty": "0x1", "number": "0x1"}`,
ID: ID,
},
name: "eth_getBlockByNumber earliest",
},
{
......@@ -137,7 +141,11 @@ func TestRPCCacheImmutableRPCs(t *testing.T) {
Params: []byte(`["earliest", "0x2", false]`),
ID: ID,
},
res: nil,
res: &RPCRes{
JSONRPC: "2.0",
Result: `[{"number": "0x1"}, {"number": "0x2"}]`,
ID: ID,
},
name: "eth_getBlockRange earliest",
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment