forked from cerc-io/cosmos-explorer
Fixed Transfer issue
This commit is contained in:
parent
5cb34379ce
commit
ef0ef81b4d
@ -29,7 +29,7 @@
|
|||||||
"@ledgerhq/hw-transport-webusb": "^6.27.1",
|
"@ledgerhq/hw-transport-webusb": "^6.27.1",
|
||||||
"@metamask/eth-sig-util": "^4.0.1",
|
"@metamask/eth-sig-util": "^4.0.1",
|
||||||
"@tharsis/address-converter": "^0.1.8",
|
"@tharsis/address-converter": "^0.1.8",
|
||||||
"@tharsis/transactions": "^0.2.3",
|
"@tharsis/transactions": "^0.2.5",
|
||||||
"@vue/composition-api": "^1.4.9",
|
"@vue/composition-api": "^1.4.9",
|
||||||
"@vueuse/core": "4.0.0",
|
"@vueuse/core": "4.0.0",
|
||||||
"animate.css": "4.1.1",
|
"animate.css": "4.1.1",
|
||||||
|
@ -76,7 +76,7 @@ export class SendMessageAdapter implements MessageAdapter {
|
|||||||
toProto(message: EncodeObject) {
|
toProto(message: EncodeObject) {
|
||||||
const param = message.value
|
const param = message.value
|
||||||
const amount = Array.isArray(param.amount) ? param.amount[0] : param.amount
|
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() {
|
getTypes() {
|
||||||
return MSG_SEND_TYPES
|
return MSG_SEND_TYPES
|
||||||
|
Loading…
Reference in New Issue
Block a user