Skip to content

Commit

Permalink
Rename xtokens to xTokens in astarAdapter (#126)
Browse files Browse the repository at this point in the history
* Rename xtokens to xTokens in astarAdapter

* docs(changeset): Rename xtokens to xTokens in astarAdapter
  • Loading branch information
imstar15 authored Dec 12, 2023
1 parent 1dc2748 commit 0eaa448
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chatty-rats-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@oak-network/adapter": patch
---

Rename xtokens to xTokens in astarAdapter
2 changes: 1 addition & 1 deletion packages/adapter/src/chains/astar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export class AstarAdapter extends ChainAdapter implements TaskScheduler {

const transferAssetLocation = this.isNativeAsset(assetLocation) ? convertAbsoluteLocationToRelative(assetLocation) : assetLocation;

const extrinsic = api.tx.xtokens.transferMultiasset(
const extrinsic = api.tx.xTokens.transferMultiasset(
{
V3: {
fun: { Fungible: assetAmount },
Expand Down

0 comments on commit 0eaa448

Please sign in to comment.