From 6386de6083c05a3c928cb008d4792a773d8f775d Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Mon, 15 Jul 2024 16:09:55 +0200 Subject: [PATCH] clippy --- primitives/teerex/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitives/teerex/src/lib.rs b/primitives/teerex/src/lib.rs index 228f335b..79520b23 100644 --- a/primitives/teerex/src/lib.rs +++ b/primitives/teerex/src/lib.rs @@ -159,7 +159,7 @@ where MultiEnclave::Sgx(enclave) => match enclave.maybe_pubkey() { Some(pubkey) => AnySigner::from(MultiSigner::from(sp_core::ed25519::Public::from_raw(pubkey))), - None => AnySigner::try_from(enclave.report_data.d).unwrap_or_default(), + None => AnySigner::from(enclave.report_data.d), }, } }