From a5820355ad80da81590e17bd7017e1aef5c893e4 Mon Sep 17 00:00:00 2001 From: 8e8b2c <8e8b2c@proton.me> Date: Fri, 14 Jun 2024 10:41:57 +0100 Subject: [PATCH] fix: extern doc getter --- crates/username_registry_coordinator/src/oracle_document.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/username_registry_coordinator/src/oracle_document.rs b/crates/username_registry_coordinator/src/oracle_document.rs index 3ca0872..5a69037 100644 --- a/crates/username_registry_coordinator/src/oracle_document.rs +++ b/crates/username_registry_coordinator/src/oracle_document.rs @@ -22,6 +22,7 @@ pub fn create_oracle_document(oracle_document: OracleDocument) -> ExternResult ExternResult> { let base_address = hash_identifier(name)?; let mut links = get_links(base_address, LinkTypes::NameToOracleDocument, None)?; @@ -37,6 +38,7 @@ pub fn get_latest_oracle_document_ah_for_name(name: String) -> ExternResult ExternResult> { let Some(action_hash) = get_latest_oracle_document_ah_for_name(name)? else { return Ok(None);