rs: Fix two small regressions

These were only in the test targets, but still.
This commit is contained in:
Christian Decker
2022-10-25 14:49:53 +02:00
parent 8a4f44a58d
commit 93c95056a3
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ mod test {
let read_req = dbg!(read.next().await.unwrap().unwrap());
assert_eq!(
json!({"id": "1", "method": "getinfo", "params": {}, "jsonrpc": "2.0"}),
json!({"id": 1, "method": "getinfo", "params": {}, "jsonrpc": "2.0"}),
read_req
);
}