Add a TODO on Tendermint

This commit is contained in:
Luke Parker 2022-10-24 05:37:43 -04:00
parent a7f4804749
commit b5cb8a9be2
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6

View file

@ -57,5 +57,8 @@ where
) -> Result<ImportResult, Self::Error> {
self.check(&mut block).await?;
self.client.import_block(block, new_cache).await.map_err(Into::into)
// TODO: If we're a validator who just successfully synced a block, recreate the tendermint
// machine with the new height
}
}