Skip to content

Commit

Permalink
Fix code style and new nonconfidential_data prop
Browse files Browse the repository at this point in the history
Signed-off-by: Marlon Baeten <[email protected]>
  • Loading branch information
marlonbaeten committed Jul 15, 2024
1 parent 41722b8 commit fde5e0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion tsp-javascript/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ impl Store {
.map_err(Error)
}


#[wasm_bindgen]
pub fn make_relationship_request(
&self,
Expand Down
4 changes: 1 addition & 3 deletions tsp/src/cesr/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1177,9 +1177,7 @@ mod test {
reply: nonce,
});

test_turn_around(Payload::RelationshipCancel {
reply: nonce,
});
test_turn_around(Payload::RelationshipCancel { reply: nonce });
}

#[test]
Expand Down
2 changes: 2 additions & 0 deletions tsp/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ impl Store {
EnvelopeType::EncryptedMessage {
sender,
receiver: intended_receiver,
..
} => {
let intended_receiver = std::str::from_utf8(intended_receiver)?;

Expand Down Expand Up @@ -642,6 +643,7 @@ impl Store {
EnvelopeType::SignedMessage {
sender,
receiver: intended_receiver,
..
} => {
if let Some(intended_receiver) = intended_receiver {
let intended_receiver = std::str::from_utf8(intended_receiver)?;
Expand Down

0 comments on commit fde5e0e

Please sign in to comment.