Skip to content

Commit

Permalink
updating comment
Browse files Browse the repository at this point in the history
  • Loading branch information
silva-fj committed Jan 17, 2025
1 parent bf78743 commit d0bc276
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ pub fn register_submit_aes_request(module: &mut RpcModule<RpcContext>) {
log::error!("Failed to send request to native call executor");
return Err(ErrorCode::InternalError.into());
}

match response_receiver.await {
Ok(response) => Ok::<String, ErrorObject>(response.to_hex()),
Err(e) => {
Expand All @@ -51,7 +50,7 @@ pub fn register_submit_aes_request(module: &mut RpcModule<RpcContext>) {
},
}
})
.expect("Failed to register submitNativeRequest method");
.expect("Failed to register native_submitAesRequest method");
}

async fn get_native_call_from_aes_request<'a>(
Expand Down

0 comments on commit d0bc276

Please sign in to comment.