fix error on v0.46.x

This commit is contained in:
liangping 2023-03-12 12:31:29 +08:00
parent 6c42502e93
commit 23baeb31d9
2 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

@ -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() {