Skip to content

Commit

Permalink
graph::ChainApi and graph::Pool reexport (paritytech#9726)
Browse files Browse the repository at this point in the history
* `graph::ChainApi` and `graph::Pool` reexport

* Redundant import cleanup

(cherry picked from commit b391b82)
  • Loading branch information
tgmichel authored and JoshOrndorff committed Sep 28, 2021
1 parent 590ad7f commit 55f376b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/transaction-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use futures::{
future::{self, ready},
prelude::*,
};
pub use graph::{Options, Transaction};
pub use graph::{ChainApi, Options, Pool, Transaction};
use parking_lot::Mutex;
use std::{
collections::{HashMap, HashSet},
Expand Down Expand Up @@ -451,7 +451,7 @@ where
at: &BlockId<Self::Block>,
xt: sc_transaction_pool_api::LocalTransactionFor<Self>,
) -> Result<Self::Hash, Self::Error> {
use graph::{ChainApi, ValidatedTransaction};
use graph::ValidatedTransaction;
use sp_runtime::{
traits::SaturatedConversion, transaction_validity::TransactionValidityError,
};
Expand Down

0 comments on commit 55f376b

Please sign in to comment.