Skip to content

Commit

Permalink
Use type alias for transactions (#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 Nov 12, 2024
1 parent 872d949 commit a875f18
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 a875f18

Please sign in to comment.