Skip to content

Commit

Permalink
Merge pull request #40 from joonas/chore/address-clippy-lints-for-xkeys
Browse files Browse the repository at this point in the history
chore: Address clippy lints for XKeys
  • Loading branch information
thomastaylor312 authored Jun 12, 2024
2 parents d2eceda + 810a0d1 commit 26d192c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/xkeys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,18 @@ impl XKey {
}
}

#[cfg(not(target_arch = "wasm32"))]
impl Default for XKey {
fn default() -> Self {
Self::new()
}
}

#[cfg(test)]
mod tests {
use super::*;
use crate::error::ErrorKind;
const MESSAGE: &'static [u8] = b"this is super secret";
const MESSAGE: &[u8] = b"this is super secret";

#[test]
fn seed_encode_decode_round_trip() {
Expand Down

0 comments on commit 26d192c

Please sign in to comment.