Skip to content

Commit

Permalink
fix: rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal authored and gitbutler-client committed Nov 29, 2024
1 parent 0cc57fe commit 31cde54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/soroban-cli/src/commands/tx/new/create_account.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use clap::{command, Parser};

use crate::{commands::tx, config::address, xdr};
use crate::{commands::tx, config::address, tx::builder, xdr};

#[derive(Parser, Debug, Clone)]
#[group(skip)]
Expand All @@ -20,7 +20,7 @@ impl TryFrom<&Cmd> for xdr::OperationBody {
fn try_from(cmd: &Cmd) -> Result<Self, Self::Error> {
Ok(xdr::OperationBody::CreateAccount(xdr::CreateAccountOp {
destination: cmd.tx.reslove_account_id(&cmd.destination)?,
starting_balance: cmd.starting_balance,
starting_balance: cmd.starting_balance.into(),
}))
}
}
2 changes: 1 addition & 1 deletion cmd/soroban-cli/src/commands/tx/new/payment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ impl TryFrom<&Cmd> for xdr::OperationBody {
destination: cmd.tx.reslove_muxed_address(&cmd.destination)?,
asset: cmd.asset.clone().into(),
amount: cmd.amount.into(),
})
}))
}
}

0 comments on commit 31cde54

Please sign in to comment.