Remove unused imports/ doc comments. (#2276)

* Remove unused imports/ doc comments

* Better doc for node template.
This commit is contained in:
Kian Peymani
2019-04-14 12:42:45 +02:00
committed by Bastian Köcher
parent 29e9273579
commit dcb1cafe2a
7 changed files with 5 additions and 13 deletions
-2
View File
@@ -1122,8 +1122,6 @@ impl<Block> client::backend::Backend<Block, Blake2Hasher> for Backend<Block> whe
}
fn revert(&self, n: NumberFor<Block>) -> Result<NumberFor<Block>, client::error::Error> {
use client::blockchain::HeaderBackend;
let mut best = self.blockchain.info()?.best_number;
let finalized = self.blockchain.info()?.finalized_number;
let revertible = best - finalized;