From 0eaa4485675a425b564cdd40bb9edfe97f295fe0 Mon Sep 17 00:00:00 2001 From: imstar15 Date: Tue, 12 Dec 2023 09:13:39 +0800 Subject: [PATCH] Rename xtokens to xTokens in astarAdapter (#126) * Rename xtokens to xTokens in astarAdapter * docs(changeset): Rename xtokens to xTokens in astarAdapter --- .changeset/chatty-rats-flash.md | 5 +++++ packages/adapter/src/chains/astar.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chatty-rats-flash.md diff --git a/.changeset/chatty-rats-flash.md b/.changeset/chatty-rats-flash.md new file mode 100644 index 0000000..281b448 --- /dev/null +++ b/.changeset/chatty-rats-flash.md @@ -0,0 +1,5 @@ +--- +"@oak-network/adapter": patch +--- + +Rename xtokens to xTokens in astarAdapter diff --git a/packages/adapter/src/chains/astar.ts b/packages/adapter/src/chains/astar.ts index e61da8f..1ec8177 100644 --- a/packages/adapter/src/chains/astar.ts +++ b/packages/adapter/src/chains/astar.ts @@ -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 },