Skip to content

Commit

Permalink
remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Nov 6, 2023
1 parent dfcb377 commit b06dcc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/sdk/src/getTransferData/getSourceData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export async function getSourceData({
amount: 0n,
decimals: await getDecimals({
address: destinationAddress,
config: config.fee,
asset: config.fee.asset,
config,
evmSigner,
polkadot,
}),
Expand All @@ -60,7 +61,8 @@ export async function getSourceData({
amount: 0n,
decimals: await getDecimals({
address: destinationAddress,
config: config.destinationFee,
asset: config.destinationFee.asset,
config,
evmSigner,
polkadot,
}),
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/src/getTransferData/getTransferData.utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CallType, SubstrateQueryConfig } from '@moonbeam-network/xcm-builder';
import { AssetConfig, FeeAssetConfig } from '@moonbeam-network/xcm-config';
import { AssetConfig } from '@moonbeam-network/xcm-config';
import { Asset } from '@moonbeam-network/xcm-types';
import { toBigInt } from '@moonbeam-network/xcm-utils';
import { BalanceContractInterface, createContract } from '../contract';
Expand All @@ -8,7 +8,7 @@ import { EvmSigner } from '../sdk.interfaces';

export interface GetFeeBalancesParams {
address: string;
config: AssetConfig | FeeAssetConfig;
config: AssetConfig;
evmSigner?: EvmSigner;
polkadot: PolkadotService;
asset?: Asset;
Expand Down

0 comments on commit b06dcc3

Please sign in to comment.