Skip to content

Commit

Permalink
Use type alias for transactions (paritytech#6431)
Browse files Browse the repository at this point in the history
Very tiny change that helps with debugging of transactions propagation
by referring to the same type alias not only at receiving side, but also
on the sending size for symmetry
  • Loading branch information
nazar-pc authored and dudo50 committed Jan 4, 2025
1 parent 8d6ba26 commit 759a9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/client/network/transactions/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ where
continue
}

let (hashes, to_send): (Vec<_>, Vec<_>) = transactions
let (hashes, to_send): (Vec<_>, Transactions<_>) = transactions
.iter()
.filter(|(hash, _)| peer.known_transactions.insert(hash.clone()))
.cloned()
Expand Down

0 comments on commit 759a9e5

Please # to comment.