Skip to content

Commit

Permalink
remove not-needed baseAssetId format safeguard
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk committed May 15, 2024
1 parent 3ed6e1d commit 068544a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/account/src/test-utils/wallet-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export class WalletConfig {
};

constructor(baseAssetId: string, config: WalletConfigOptions) {
const BASE_ASSET_ID = baseAssetId.startsWith('0x') ? baseAssetId : `0x${baseAssetId}`;
WalletConfig.validate(config);

this.options = config;
Expand All @@ -68,7 +67,7 @@ export class WalletConfig {
messages: WalletConfig.createMessages(this.wallets, messages),
coins: WalletConfig.createCoins(
this.wallets,
BASE_ASSET_ID,
baseAssetId,
assets,
coinsPerAsset,
amountPerCoin
Expand Down

0 comments on commit 068544a

Please sign in to comment.