Unverified Commit 9cc8c576 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Companion for #6599 (#1371)

* Companion for #6599

https://github.com/paritytech/substrate/pull/6599

* Update Substrate ref
parent 9ba989dd
Pipeline #99826 canceled with stages
in 5 minutes and 40 seconds
This diff is collapsed.
......@@ -168,7 +168,10 @@ macro_rules! new_full_start {
Ok(sc_consensus::LongestChain::new(backend.clone()))
})?
.with_transaction_pool(|builder| {
let pool_api = sc_transaction_pool::FullChainApi::new(builder.client().clone());
let pool_api = sc_transaction_pool::FullChainApi::new(
builder.client().clone(),
builder.prometheus_registry(),
);
let pool = sc_transaction_pool::BasicPool::new(
builder.config().transaction_pool.clone(),
std::sync::Arc::new(pool_api),
......
......@@ -163,7 +163,10 @@ macro_rules! new_full_start {
Ok(sc_consensus::LongestChain::new(backend.clone()))
})?
.with_transaction_pool(|builder| {
let pool_api = sc_transaction_pool::FullChainApi::new(builder.client().clone());
let pool_api = sc_transaction_pool::FullChainApi::new(
builder.client().clone(),
builder.prometheus_registry(),
);
let pool = sc_transaction_pool::BasicPool::new(
builder.config().transaction_pool.clone(),
std::sync::Arc::new(pool_api),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment