Skip to content

Commit 93c9505

Browse files
committed
rs: Fix two small regressions
These were only in the test targets, but still.
1 parent 8a4f44a commit 93c9505

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cln-grpc/src/pb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,6 @@ mod test {
347347
]
348348
});
349349
let u: cln_rpc::model::ListpeersResponse = serde_json::from_value(j).unwrap();
350-
let g: ListpeersResponse = (&u).into();
350+
let _g: ListpeersResponse = u.into();
351351
}
352352
}

cln-rpc/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ mod test {
146146
let read_req = dbg!(read.next().await.unwrap().unwrap());
147147

148148
assert_eq!(
149-
json!({"id": "1", "method": "getinfo", "params": {}, "jsonrpc": "2.0"}),
149+
json!({"id": 1, "method": "getinfo", "params": {}, "jsonrpc": "2.0"}),
150150
read_req
151151
);
152152
}

0 commit comments

Comments
 (0)