diff --git a/src/crypto.rs b/src/crypto.rs index fc1c853..c05fa31 100644 --- a/src/crypto.rs +++ b/src/crypto.rs @@ -36,13 +36,12 @@ impl SharedPoint { #[tsify(from_wasm_abi, into_wasm_abi)] pub struct AnkSharedSecret { secret: String, - pub trusted: bool, } impl AnkSharedSecret { - pub fn new(shared_point: [u8; 64], trusted: bool) -> Self { + pub fn new(shared_point: [u8; 64]) -> Self { let secret = AnkSharedSecretHash::from_shared_point(shared_point).to_byte_array(); - Self { secret: secret.to_lower_hex_string(), trusted } + Self { secret: secret.to_lower_hex_string() } } pub fn to_byte_array(&self) -> [u8; 32] {