Skip to content

Commit

Permalink
Fix xTokens transfer on Zeitgeist chain ⚙️
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldev5 authored and dudo50 committed Dec 8, 2023
1 parent b489e3d commit 966f9ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nodes/supported/Zeitgeist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class Zeitgeist extends ParachainNode implements IXTokensTransfer {
}

transferXTokens(input: XTokensTransferInput): Extrinsic | TSerializedApiCall {
return XTokensTransferImpl.transferXTokens(input, { ForeignAsset: input.currencyID })
const currencySelection = input.currency === 'ZTG' ? 'Ztg' : { ForeignAsset: input.currencyID }
return XTokensTransferImpl.transferXTokens(input, currencySelection)
}
}

Expand Down

0 comments on commit 966f9ea

Please sign in to comment.