Skip to content

Commit 53b4218

Browse files
authored
Bugfix: remove unnecessary filter (#52)
1 parent cc71c3f commit 53b4218

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/cryptoadvance/spectrum/spectrum.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -937,10 +937,7 @@ def listtransactions(
937937
):
938938
txs = (
939939
db.session.query(Tx)
940-
.filter(
941-
Tx.wallet_id == wallet.id,
942-
Tx.category.in_([TxCategory.SEND, TxCategory.RECEIVE]),
943-
)
940+
.filter(Tx.wallet_id == wallet.id)
944941
.offset(skip)
945942
.limit(count)
946943
.all()

0 commit comments

Comments
 (0)