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), }, } }