Skip to content

Commit

Permalink
chore: make format
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Nov 15, 2024
1 parent 2e2e2a8 commit 513694f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions miden-tx/src/testing/mock_chain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use miden_lib::{
};
use miden_objects::{
accounts::{
delta::AccountUpdateDetails, Account, AccountBuilder, AccountComponent, AccountDelta, AccountId, AccountType, AuthSecretKey
delta::AccountUpdateDetails, Account, AccountBuilder, AccountComponent, AccountDelta,
AccountId, AccountType, AuthSecretKey,
},
assets::{Asset, FungibleAsset, TokenSymbol},
block::{compute_tx_hash, Block, BlockAccountUpdate, BlockNoteIndex, BlockNoteTree, NoteBatch},
Expand Down Expand Up @@ -376,9 +377,8 @@ impl MockChain {

/// Adds a new wallet with the specified authentication method and assets.
pub fn add_new_wallet(&mut self, auth_method: Auth) -> Account {
let account_builder = AccountBuilder::new()
.init_seed(self.rng.gen())
.with_component(BasicWallet);
let account_builder =
AccountBuilder::new().init_seed(self.rng.gen()).with_component(BasicWallet);

self.add_from_account_builder(auth_method, account_builder, AccountState::New)
}
Expand Down

0 comments on commit 513694f

Please sign in to comment.