mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 02:07:56 +00:00
Remove unused imports/ doc comments. (#2276)
* Remove unused imports/ doc comments * Better doc for node template.
This commit is contained in:
committed by
Bastian Köcher
parent
29e9273579
commit
dcb1cafe2a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user