Skip to content

Commit

Permalink
reviews: fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
igamigo committed Jan 26, 2025
1 parent a0cb3f8 commit 09f8bae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/miden-cli/src/commands/new_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl NewFaucetCmd {
}

let mut extra_components = Vec::new();
for path in &self.template_files {
for path in &self.extra_components {
let bytes = fs::read(path)?;
let template = AccountComponentTemplate::read_from_bytes(&bytes).map_err(|e| {
CliError::AccountComponentError(
Expand Down Expand Up @@ -228,7 +228,7 @@ pub struct NewWalletCmd {
impl NewWalletCmd {
pub async fn execute(&self, mut client: Client<impl FeltRng>) -> Result<(), CliError> {
let mut extra_components = Vec::new();
for path in &self.template_files {
for path in &self.extra_components {
let bytes = fs::read(path)?;
let template = AccountComponentTemplate::read_from_bytes(&bytes).map_err(|e| {
CliError::AccountComponentError(
Expand Down
2 changes: 1 addition & 1 deletion crates/rust-client/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{

use miden_lib::note::scripts::{p2id, p2idr, swap};
use miden_rpc_proto::write_proto;
use miette::{Error, IntoDiagnostic};
use miette::IntoDiagnostic;
use prost::Message;

const STD_PROTO_OUT_DIR: &str = "src/rpc/generated/std";
Expand Down

0 comments on commit 09f8bae

Please sign in to comment.