Skip to content

Commit

Permalink
Revert "disable swap filter on Transactions module"
Browse files Browse the repository at this point in the history
  • Loading branch information
ant013 committed Sep 26, 2023
1 parent 839d872 commit b870cdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EvmTransactionsAdapter: BaseEvmAdapter {
case .all: ()
case .incoming: type = .incoming
case .outgoing: type = .outgoing
// case .swap: type = .swap
case .swap: type = .swap
case .approve: type = .approve
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class TronTransactionsAdapter: BaseTronAdapter {
case .all: ()
case .incoming: type = .incoming
case .outgoing: type = .outgoing
// case .swap: type = .swap
case .swap: type = .swap
case .approve: type = .approve
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
enum TransactionTypeFilter: String, CaseIterable {
// case all, incoming, outgoing, swap, approve
case all, incoming, outgoing, approve
case all, incoming, outgoing, swap, approve
}

0 comments on commit b870cdf

Please sign in to comment.