From 23baeb31d9affb122b371c2d8e9ccbd62ba66064 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Sun, 12 Mar 2023 12:31:29 +0800 Subject: [PATCH] fix error on v0.46.x --- src/libs/fetch.js | 2 +- src/views/WalletAccountDetail.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libs/fetch.js b/src/libs/fetch.js index 9ebd1dca..1f1eba86 100644 --- a/src/libs/fetch.js +++ b/src/libs/fetch.js @@ -106,7 +106,7 @@ export default class ChainFetch { } async getTxsBySender(sender) { - return this.get(`/cosmos/tx/v1beta1/txs?events=message.sender='${sender}'&pagination.reverse=true&order_by=ORDER_BY_DESC`) + return this.get(`/cosmos/tx/v1beta1/txs?events=message.sender='${sender}'&pagination.reverse=true`) } async getTxsByRecipient(recipient) { diff --git a/src/views/WalletAccountDetail.vue b/src/views/WalletAccountDetail.vue index 490c2b7c..cf7b5e53 100644 --- a/src/views/WalletAccountDetail.vue +++ b/src/views/WalletAccountDetail.vue @@ -736,7 +736,8 @@ export default { return this.$store.state.chains.denoms }, isEthAddr() { - return JSON.stringify(this.account).indexOf('PubKeyEthSecp256k1') > 0 + // JSON.stringify(this.account).indexOf('PubKeyEthSecp256k1') > 0 + return false }, }, created() {