mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
rs: Fix two small regressions
These were only in the test targets, but still.
This commit is contained in:
parent
8a4f44a58d
commit
93c95056a3
2 changed files with 2 additions and 2 deletions
|
@ -347,6 +347,6 @@ mod test {
|
|||
]
|
||||
});
|
||||
let u: cln_rpc::model::ListpeersResponse = serde_json::from_value(j).unwrap();
|
||||
let g: ListpeersResponse = (&u).into();
|
||||
let _g: ListpeersResponse = u.into();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue