Fixed Transfer issue
This commit is contained in:
parent
5cb34379ce
commit
ef0ef81b4d
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user