Skip to content

Commit

Permalink
fix: avoid parsing for printing
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Todorov <alex.todorov@gluwa.com>
  • Loading branch information
pLabarta and atodorov committed Jun 21, 2023
1 parent 120afed commit 1ba5d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cc-cli/src/commands/bond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async function bondAction(options: OptionValues) {
console.log("Creating bond transaction...");
console.log("Controller address:", options.controller);
console.log("Reward destination:", rewardDestination);
console.log("Amount:", parseFloat(options.amount));
console.log("Amount:", amount);

await promptContinue();

Expand Down

0 comments on commit 1ba5d49

Please sign in to comment.