From 90906ec12805d304590db1a32b517ceae7d625e3 Mon Sep 17 00:00:00 2001 From: hangts <> Date: Mon, 8 Jul 2024 17:19:00 +0800 Subject: [PATCH 1/2] #Bugfix MsgSwapFeeToken --- src/types/token.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/token.ts b/src/types/token.ts index d4e9306f..c166d75b 100644 --- a/src/types/token.ts +++ b/src/types/token.ts @@ -367,7 +367,8 @@ export class MsgSwapFeeToken extends Msg { .setFeePaid(TxModelCreator.createCoinModel(this.value.fee_paid.denom, this.value.fee_paid.amount)) .setSender(this.value.sender); if (this.value.recipient) { - msg.setRecipient(this.value.recipient); + msg.setReceiver(this.value.recipient); + } return msg; } From b3a19dcfaee005829f44c6b08e206de728678ea3 Mon Sep 17 00:00:00 2001 From: hangts <> Date: Mon, 8 Jul 2024 17:19:24 +0800 Subject: [PATCH 2/2] #build --- dist/src/types/token.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/src/types/token.js b/dist/src/types/token.js index a14736c0..ad432c65 100644 --- a/dist/src/types/token.js +++ b/dist/src/types/token.js @@ -325,7 +325,7 @@ var MsgSwapFeeToken = exports.MsgSwapFeeToken = /*#__PURE__*/function (_Msg6) { value: function getModel() { var msg = new (this.constructor.getModelClass())().setFeePaid(_helper.TxModelCreator.createCoinModel(this.value.fee_paid.denom, this.value.fee_paid.amount)).setSender(this.value.sender); if (this.value.recipient) { - msg.setRecipient(this.value.recipient); + msg.setReceiver(this.value.recipient); } return msg; }