From d08046ea8de649edb1ec4973c526d4ad4bd5b1aa Mon Sep 17 00:00:00 2001 From: qwer951123 Date: Wed, 23 Aug 2023 18:06:03 +0800 Subject: [PATCH] fix phala build tx error (#88) --- package.json | 2 +- src/adapters/phala.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bfeedde1..ac52539b 100644 --- a/package.json +++ b/package.json @@ -55,5 +55,5 @@ "jest": "^28.1.1", "typescript": "^4.7.4" }, - "stableVersion": "0.1.5-10" + "stableVersion": "0.1.5-11" } diff --git a/src/adapters/phala.ts b/src/adapters/phala.ts index 2b0fedf8..df934210 100644 --- a/src/adapters/phala.ts +++ b/src/adapters/phala.ts @@ -253,7 +253,7 @@ class BasePhalaAdapter extends BaseCrossChainAdapter { }; } - return this.api.tx.xTransfer.transfer(asset, dst); + return this.api.tx.xTransfer.transfer(asset, dst, undefined); } }