From 836751579a3426f64245a40547c30fb9a19141da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= <88964539+9i5BCrUcNX5NmT@users.noreply.github.com> Date: Fri, 19 Jan 2024 01:28:46 +0300 Subject: [PATCH] Update inbox.rs (#962) --- apps/freenet-email-app/web/src/inbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/freenet-email-app/web/src/inbox.rs b/apps/freenet-email-app/web/src/inbox.rs index ce8db4572..69eb83037 100644 --- a/apps/freenet-email-app/web/src/inbox.rs +++ b/apps/freenet-email-app/web/src/inbox.rs @@ -181,7 +181,7 @@ impl DecryptedMessage { } .try_into() .map_err(|e| format!("{e}"))?; - let inbox_key = !::from_params(INBOX_CODE_HASH, params).map_err(|e| format!("{e}"))?; + let inbox_key = ContractKey::from_params(INBOX_CODE_HASH, params).map_err(|e| format!("{e}"))?; AftRecords::pending_assignment(delegate_key, inbox_key.clone()); PENDING_INBOXES_UPDATE.with(|map| {