Skip to content

Fix cross transfers from hydra dx network #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/components/creatorsStaking/modals/TxButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ export function UnstakeTxButton (props: CommonTxButtonProps) {
const creatorsSpaceIds =
myCreatorsIds?.filter((id) => id !== ACTIVE_STAKING_SPACE_ID) || []

console.log('creatorsSpaceIds', creatorsSpaceIds)

const isOnlyActiveStaking = isEmptyArray(creatorsSpaceIds)

const backerInfoBySpaces = useBackerInfoBySpaces(creatorsSpaceIds, myAddress)
Expand Down
4 changes: 2 additions & 2 deletions src/components/transfer/configs/cross-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ShadowAdapter } from '@polkawallet/bridge/adapters/crust'
import { CrabAdapter } from '@polkawallet/bridge/adapters/darwinia'
import {
BasiliskAdapter,
HydraAdapter,
hydraRouteConfigs,
hydraTokensConfig,
} from '@polkawallet/bridge/adapters/hydradx'
Expand All @@ -26,6 +25,7 @@ import { HeikoAdapter, ParallelAdapter } from '@polkawallet/bridge/adapters/para
import { ZeitgeistAdapter } from '@polkawallet/bridge/adapters/zeitgeist'
import { SubsocialAdapter, subsocialTokensConfig } from './custom/SubsocialAdapter'
import { MoonbeamAdapter } from './custom/MoonbeamAdapter'
import { HydraDxAdapter } from './custom/HydraAdapter'

// Add SUB for Hydra DX
hydraRouteConfigs.push({
Expand Down Expand Up @@ -127,7 +127,7 @@ const availableAdapters: Record<string, { adapter: BaseCrossChainAdapter; chainN
chainName: 'heiko',
},
hydradx: {
adapter: new HydraAdapter(),
adapter: new HydraDxAdapter(),
},
zeitgeist: {
adapter: new ZeitgeistAdapter(),
Expand Down
Loading