pub fn sign_ingress(
    pem: &str,
    canister_id: Principal,
    method_name: &str,
    args: Vec<u8>,
) -> AnyhowResult<Ingress> {
    let msg = sign(pem, canister_id, method_name, args)?;
    Ok(msg.message)
}
/// Generates a signed ingress message.
Generates a signed ingress message.
Generates a signed ingress message .
pub fn sign_ingress(
    pem: &str,
    canister_id: Principal,
    method_name: &str,
    args: Vec<u8>,
) -> AnyhowResult<Ingress> {
    let msg = sign(pem, canister_id, method_name, args)?;
    Ok(msg.message)
}
pub fn sign_ingress ( pem : & str , canister_id : Principal , method_name : & str , args : Vec < u8 > , ) -> AnyhowResult < Ingress > { let msg = sign ( pem , canister_id , method_name , args ) ? ; Ok ( msg . message ) }
Generates a signed ingress message.
Generates a signed ingress message .
pem
&str
canister_id
Principal
method_name
&str
args
Vec<u8>