From bb182b6291e6058d7ea12c4940a500fd91a780be Mon Sep 17 00:00:00 2001 From: charliec Date: Thu, 12 Oct 2023 15:07:22 -0500 Subject: [PATCH] query outtx tracker by chain using prefixed store --- x/crosschain/keeper/keeper_out_tx_tracker.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x/crosschain/keeper/keeper_out_tx_tracker.go b/x/crosschain/keeper/keeper_out_tx_tracker.go index 9216594f06..308f4c13b0 100644 --- a/x/crosschain/keeper/keeper_out_tx_tracker.go +++ b/x/crosschain/keeper/keeper_out_tx_tracker.go @@ -132,9 +132,7 @@ func (k Keeper) OutTxTrackerAllByChain(c context.Context, req *types.QueryAllOut if err := k.cdc.Unmarshal(value, &outTxTracker); err != nil { return err } - if outTxTracker.ChainId == req.Chain { - outTxTrackers = append(outTxTrackers, outTxTracker) - } + outTxTrackers = append(outTxTrackers, outTxTracker) return nil })