Add trivial improvements to transaction pool (#8572)

* Add trival improvements to transaction pool

* .

* Add trival improvements to transaction pool

* Update client/transaction-pool/graph/src/future.rs

* Update client/transaction-pool/graph/src/base_pool.rs

* Fix transaction_debug test

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Liu-Cheng XuandBastian Köcher authored and GitHub committed 2021-04-09 11:37:40 +00:00
1 parent 9fa684f2a4
commit 7e59d172b8
9 files changed
+83 -102

No files matched your search

+2 -2
View File
@@ -167,7 +167,7 @@ impl<PoolApi, Block> BasicPool<PoolApi, Block>
let (revalidation_queue, background_task, notifier) =
revalidation::RevalidationQueue::new_test(pool_api.clone(), pool.clone());
(
BasicPool {
Self {
api: pool_api,
pool,
revalidation_queue: Arc::new(revalidation_queue),
@@ -203,7 +203,7 @@ impl<PoolApi, Block> BasicPool<PoolApi, Block>
spawner.spawn("txpool-background", background_task);
}
BasicPool {
Self {
api: pool_api,
pool,
revalidation_queue: Arc::new(revalidation_queue),