From bb17c2ddfa5cd02ab773bfd09501efe8b854ffb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogdan-=C8=98tefan=20Neac=C8=99u?= Date: Fri, 10 Dec 2021 16:35:00 +0200 Subject: [PATCH] Short node identity signature check --- contracts/mixnet/src/support/helpers.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contracts/mixnet/src/support/helpers.rs b/contracts/mixnet/src/support/helpers.rs index a5994b42d2..1b33cba2a8 100644 --- a/contracts/mixnet/src/support/helpers.rs +++ b/contracts/mixnet/src/support/helpers.rs @@ -47,12 +47,15 @@ pub(crate) fn ensure_no_existing_bond( Ok(()) } +#[allow(unreachable_code)] +#[allow(unused_variables)] pub(crate) fn validate_node_identity_signature( deps: Deps, owner: &Addr, signature: String, identity: IdentityKeyRef, ) -> Result<(), ContractError> { + return Ok(()); let owner_bytes = owner.as_bytes(); let mut identity_bytes = [0u8; 32];