Skip to content

Commit

Permalink
Merge branch 'p-430-try-out-rust-sgx-sdk-200-branch' into p-668-upgra…
Browse files Browse the repository at this point in the history
…de-the-supported-intel-sdk-to-219
  • Loading branch information
Kailai-Wang committed Jun 14, 2024
2 parents 9943b46 + a2f242b commit f902fe8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ pub fn identity_to_string(input: Vec<u8>) -> PrecompileResult {
},
};

let network_type = decoded.first().and_then(|v| v.clone().into_uint().map(|t| t.as_u32() as u8));
let network_type =
decoded.first().and_then(|v| v.clone().into_uint().map(|t| t.as_u32() as u8));
let identity_value = decoded.get(1).and_then(|v| v.clone().into_bytes());

let value = match (network_type, identity_value) {
Expand Down

0 comments on commit f902fe8

Please sign in to comment.