Skip to content

Commit 8829f41

Browse files
committed
fix: use proper msg direction in transactionsByMessage
1 parent 30c4f84 commit 8829f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/toncenter_v3/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ async fn get_transactions_by_message(
876876

877877
// Try to handle destination transaction first.
878878
let both_directions = query.direction.is_none();
879-
if both_directions || matches!(query.direction, Some(MessageDirection::Out)) {
879+
if both_directions || matches!(query.direction, Some(MessageDirection::In)) {
880880
// Fully parse destination transaction.
881881
let Some(info) =
882882
state.get_transaction_info(dst_tx_root.repr_hash(), Some(&snapshot))?

0 commit comments

Comments
 (0)