Skip to content

Commit

Permalink
Simplify convention
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Apr 15, 2023
1 parent a8cc72b commit fcf41e5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions cli/src/commands/developer/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,7 @@ impl Transfer {
];

// Create a new transaction.
Transaction::execute(
&vm,
&private_key,
(ProgramID::from_str("credits.aleo")?, Identifier::from_str("transfer")?),
inputs.iter(),
fee,
Some(query),
rng,
)?
Transaction::execute(&vm, &private_key, ("credits.aleo", "transfer"), inputs.iter(), fee, Some(query), rng)?
};
let locator = Locator::<CurrentNetwork>::from_str("credits.aleo/transfer")?;
format!("✅ Created transfer of {} gates to {}...\n", &self.amount, self.recipient);
Expand Down

0 comments on commit fcf41e5

Please sign in to comment.