Skip to content

Commit

Permalink
fix hydration balance config
Browse files Browse the repository at this point in the history
  • Loading branch information
nohaapav committed Nov 5, 2024
1 parent 43c9a9c commit 90c7fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/xcm-cfg/src/configs/polkadot/hydration/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const NATIVE_ASSET_ID = '0';
export const balance = (): BalanceConfigBuilder => {
return {
build: ({ address, asset, chain }) => {
if (asset.toString() === NATIVE_ASSET_ID) {
const assetId = chain.getAssetId(asset);
if (assetId.toString() === NATIVE_ASSET_ID) {
return BalanceBuilder()
.substrate()
.system()
Expand Down

0 comments on commit 90c7fa5

Please sign in to comment.