Update node to latest sc_tendermint

This commit is contained in:
Luke Parker
2022-11-01 21:32:18 -04:00
parent 9a26ac6899
commit 86aaadaea0
4 changed files with 5 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ use log::warn;
use tokio::task::yield_now;
use sp_core::{Encode, Decode};
use sp_keystore::CryptoStore;
use sp_runtime::{
traits::{Header, Block},
Digest,
@@ -132,10 +133,10 @@ impl<T: TendermintValidator> TendermintAuthority<T> {
/// as it will not return until the P2P stack shuts down.
pub async fn authority(
mut self,
validator: (u16, Arc<dyn CryptoStore>),
providers: T::CIDP,
env: T::Environment,
network: T::Network,
validator: (u16, T::Keystore),
registry: Option<&Registry>,
) {
let (best_hash, last) = self.get_last();