Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
raychu86 committed Jun 15, 2023
1 parent 41c9799 commit 6fcd28f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/src/commands/developer/transfer_private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use anyhow::Result;
use clap::Parser;
use std::str::FromStr;

/// Executes the `transfer_public` function in the `credits.aleo` program.
/// Executes the `transfer_private` function in the `credits.aleo` program.
#[derive(Debug, Parser)]
pub struct TransferPrivate {
/// The input record used to craft the transfer.
Expand Down Expand Up @@ -68,7 +68,7 @@ impl TransferPrivate {
// Retrieve the private key.
let private_key = PrivateKey::from_str(&self.private_key)?;

println!("📦 Creating private transfer...\n");
println!("📦 Creating private transfer of {} microcredits to {}...\n", self.amount, self.recipient);

// Generate the transfer transaction.
let execution = {
Expand All @@ -93,7 +93,7 @@ impl TransferPrivate {
vm.execute(&private_key, ("credits.aleo", "transfer_private"), inputs.iter(), Some(fee), Some(query), rng)?
};
let locator = Locator::<CurrentNetwork>::from_str("credits.aleo/transfer_private")?;
println!("✅ Created transfer of {} microcredits to {}...\n", &self.amount, self.recipient);
println!("✅ Created private transfer of {} microcredits to {}...\n", &self.amount, self.recipient);

// Determine if the transaction should be broadcast, stored, or displayed to user.
Developer::handle_transaction(self.broadcast, self.display, self.store, execution, locator.to_string())
Expand Down

0 comments on commit 6fcd28f

Please sign in to comment.