Short node identity signature check

This commit is contained in:
Bogdan-Ștefan Neacșu
2021-12-10 16:35:00 +02:00
parent ed1fe22db2
commit bb17c2ddfa
+3
View File
@@ -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];