Skip to content

Commit

Permalink
fix pairing test
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed Nov 4, 2024
1 parent 5c974ad commit f766404
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pairing_api/src/pairing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,13 @@ mod test {
)
.unwrap();

let sym_key =
hex::decode("4a7cccd69a33ac0a3debfbee49e8ff0e65edbdc2031ba600e37880f73eb5b638")
.unwrap()
.try_into()
.unwrap();
let mut expected = Pairing {
sym_key: "4a7cccd69a33ac0a3debfbee49e8ff0e65edbdc2031ba600e37880f73eb5b638".to_owned(),
sym_key,
version: "2".to_owned(),
pairing: PairingInfo {
topic: "b99c41b1219a6c3131f2960e64cc015900b6880b49470e43bf14e9e520bd922d"
Expand Down

0 comments on commit f766404

Please sign in to comment.