Skip to content

Commit

Permalink
query outtx tracker by chain using prefixed store
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Oct 12, 2023
1 parent cd5a3c0 commit bb182b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/crosschain/keeper/keeper_out_tx_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down

0 comments on commit bb182b6

Please sign in to comment.