From 86457a9a631b0bfe3b494391c13f812c3c657461 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Mon, 7 Aug 2023 09:46:51 +0800 Subject: [PATCH] use int instead of enum --- src/modules/[chain]/ibc/connection/[connection_id].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/[chain]/ibc/connection/[connection_id].vue b/src/modules/[chain]/ibc/connection/[connection_id].vue index 1689a6f5..ce6f484d 100644 --- a/src/modules/[chain]/ibc/connection/[connection_id].vue +++ b/src/modules/[chain]/ibc/connection/[connection_id].vue @@ -68,7 +68,7 @@ function fetchSendingTxs(channel: string, port: string, pageNum = 0) { channel_id.value = channel port_id.value = port txs.value = {} as PaginatedTxs - chainStore.rpc.getTxs("?order_by=ORDER_BY_DESC&events=send_packet.packet_src_channel='{channel}'&events=send_packet.packet_src_port='{port}'", { channel, port }, page.value).then(res => { + chainStore.rpc.getTxs("?order_by=2&events=send_packet.packet_src_channel='{channel}'&events=send_packet.packet_src_port='{port}'", { channel, port }, page.value).then(res => { txs.value = res }) .finally(() => loading.value = false) @@ -80,7 +80,7 @@ function fetchRecevingTxs(channel: string, port: string, pageNum = 0) { channel_id.value = channel port_id.value = port txs.value = {} as PaginatedTxs - chainStore.rpc.getTxs("?order_by=ORDER_BY_DESC&events=recv_packet.packet_dst_channel='{channel}'&events=recv_packet.packet_dst_port='{port}'", { channel, port }, page.value).then(res => { + chainStore.rpc.getTxs("?order_by=2&events=recv_packet.packet_dst_channel='{channel}'&events=recv_packet.packet_dst_port='{port}'", { channel, port }, page.value).then(res => { txs.value = res }) .finally(() => loading.value = false)