Skip to content

Commit

Permalink
[#472] remove Debug from SessionRecord
Browse files Browse the repository at this point in the history
- also add a cheap Debug impl for PrivateKey which leaks no info
  • Loading branch information
cosmicexplorer committed Sep 24, 2022
1 parent ab29fed commit 1fe7705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/protocol/src/state/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ impl From<&SessionState> for SessionStructure {
}
}

#[derive(Clone, Debug)]
#[derive(Clone)]
pub struct SessionRecord {
current_session: Option<SessionState>,
previous_sessions: Vec<Vec<u8>>,
Expand Down

0 comments on commit 1fe7705

Please sign in to comment.