node: pass local authorship info to the transaction pool (#2385)

* node: pass local authorship to the transaction pool

* update substrate
This commit is contained in:
André Silva authored and GitHub committed 2021-02-04 21:04:55 +01:00
1 parent 2b533ddc77
commit e647e53b6f
2 files changed
+188 -233

No files matched your search

+187 -233
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -243,6 +243,7 @@ fn new_partial<RuntimeApi, Executor>(config: &mut Configuration, jaeger_agent: O
let transaction_pool = sc_transaction_pool::BasicPool::new_full(
config.transaction_pool.clone(),
config.role.is_authority().into(),
config.prometheus_registry(),
task_manager.spawn_handle(),
client.clone(),