diff --git a/package.json b/package.json index 1ecc245c..73a02f32 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@ledgerhq/hw-transport-webusb": "^6.27.1", "@metamask/eth-sig-util": "^4.0.1", "@tharsis/address-converter": "^0.1.8", - "@tharsis/transactions": "^0.2.3", + "@tharsis/transactions": "^0.2.5", "@vue/composition-api": "^1.4.9", "@vueuse/core": "4.0.0", "animate.css": "4.1.1", diff --git a/src/libs/client/MessageAdapter.ts b/src/libs/client/MessageAdapter.ts index 93db81e0..30d3b2cc 100644 --- a/src/libs/client/MessageAdapter.ts +++ b/src/libs/client/MessageAdapter.ts @@ -76,7 +76,7 @@ export class SendMessageAdapter implements MessageAdapter { toProto(message: EncodeObject) { const param = message.value const amount = Array.isArray(param.amount) ? param.amount[0] : param.amount - return createMsgSend(param.fromAddress, param.toAddress, amount.amount, param.amount.denom) + return createMsgSend(param.fromAddress, param.toAddress, amount.amount, amount.denom) } getTypes() { return MSG_SEND_TYPES