pub async fn send_one_sided(
    mut wallet_transaction_service: TransactionServiceHandle,
    args: Vec<ParsedArgument>,
) -> Result<TxId, CommandError> {
    let (fee_per_gram, amount, dest_pubkey, message) = get_transaction_parameters(args)?;
    wallet_transaction_service
        .send_one_sided_transaction(dest_pubkey, amount, fee_per_gram, message)
        .await
        .map_err(CommandError::TransactionServiceError)
}
/// Send a one-sided transaction to a recipient
Send a one-sided transaction to a recipient
Send a one - sided transaction to a recipient
pub async fn send_one_sided(
    mut wallet_transaction_service: TransactionServiceHandle,
    args: Vec<ParsedArgument>,
) -> Result<TxId, CommandError> {
    let (fee_per_gram, amount, dest_pubkey, message) = get_transaction_parameters(args)?;
    wallet_transaction_service
        .send_one_sided_transaction(dest_pubkey, amount, fee_per_gram, message)
        .await
        .map_err(CommandError::TransactionServiceError)
}
pub async fn send_one_sided ( mut wallet_transaction_service : TransactionServiceHandle , args : Vec < ParsedArgument > , ) -> Result < TxId , CommandError > { let ( fee_per_gram , amount , dest_pubkey , message ) = get_transaction_parameters ( args ) ? ; wallet_transaction_service . send_one_sided_transaction ( dest_pubkey , amount , fee_per_gram , message ) . await . map_err ( CommandError :: TransactionServiceError ) }
Send a one-sided transaction to a recipient
Send a one - sided transaction to a recipient
wallet_transaction_service
TransactionServiceHandle
args
Vec<ParsedArgument>
wallet_transaction_service
TransactionServiceHandle
args
Vec<ParsedArgument>