Skip to content

Commit

Permalink
remove new for TestCred
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Apr 2, 2024
1 parent 2180471 commit f664d9f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xmtp_id/src/credential_verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ mod test {
pub valid: bool,
}

impl TestCredential {
pub fn new(valid: bool) -> Self {
Self { valid }
}
}

impl From<TestCredential> for Vec<u8> {
fn from(cred: TestCredential) -> Vec<u8> {
if cred.valid {
Expand Down

0 comments on commit f664d9f

Please sign in to comment.