Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Allow tx pool to be Send (#9315)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkpar authored and debris committed Aug 9, 2018
1 parent 8814195 commit 62fdfb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion transaction-pool/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
description = "Generic transaction pool."
name = "transaction-pool"
version = "1.12.1"
version = "1.12.2"
license = "GPL-3.0"
authors = ["Parity Technologies <admin@parity.io>"]

Expand Down
2 changes: 1 addition & 1 deletion transaction-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub trait VerifiedTransaction: fmt::Debug {
type Hash: fmt::Debug + fmt::LowerHex + Eq + Clone + Hash;

/// Transaction sender type.
type Sender: fmt::Debug + Eq + Clone + Hash;
type Sender: fmt::Debug + Eq + Clone + Hash + Send;

/// Transaction hash
fn hash(&self) -> &Self::Hash;
Expand Down
2 changes: 1 addition & 1 deletion transaction-pool/src/scoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub enum Change<T = ()> {
///
pub trait Scoring<T>: fmt::Debug {
/// A score of a transaction.
type Score: cmp::Ord + Clone + Default + fmt::Debug;
type Score: cmp::Ord + Clone + Default + fmt::Debug + Send;
/// Custom scoring update event type.
type Event: fmt::Debug;

Expand Down

0 comments on commit 62fdfb9

Please sign in to comment.