Cleanup transaction pool deps (#4782)

* Cleanup transaction pool deps

* Fix it properly

* Fix doc test
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-01-31 12:40:32 +01:00
1 parent ce47bfa2ba
commit 709a899f9d
19 files changed
+140 -69

No files matched your search

+4 -1
View File
@@ -700,7 +700,10 @@ mod tests {
// given
let (client, longest_chain) = TestClientBuilder::new().build_with_longest_chain();
let client = Arc::new(client);
let pool = Arc::new(BasicPool::new(Default::default(), FullChainApi::new(client.clone())));
let pool = Arc::new(BasicPool::new(
Default::default(),
Arc::new(FullChainApi::new(client.clone())),
));
let best = longest_chain.best_chain().unwrap();
let transaction = Transfer {
amount: 5,