more issues due to core API reshuffle

This commit is contained in:
Robert Habermeier
2018-11-15 18:09:03 +01:00
parent 913513d983
commit d2e928a39f
2 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ impl<Block: BlockT<Hash=H256>, B, E, N, RA> grandpa::Chain<Block::Hash, NumberFo
NumberFor<Block>: BlockNumberOps,
{
fn ancestry(&self, base: Block::Hash, block: Block::Hash) -> Result<Vec<Block::Hash>, GrandpaError> {
if base == block { return Err(NotDescendent) }
if base == block { return Err(GrandpaError::NotDescendent) }
let tree_route_res = ::client::blockchain::tree_route(
self.inner.backend().blockchain(),