make GrandpaJustification::decode_and_verify_finalizes public (#5746)

This commit is contained in:
Svyatoslav Nikolsky
2020-04-23 14:07:08 +03:00
committed by GitHub
parent 1a41b88430
commit 8689a97a0d
@@ -88,7 +88,7 @@ impl<Block: BlockT> GrandpaJustification<Block> {
/// Decode a GRANDPA justification and validate the commit and the votes'
/// ancestry proofs finalize the given block.
pub(crate) fn decode_and_verify_finalizes(
pub fn decode_and_verify_finalizes(
encoded: &[u8],
finalized_target: (Block::Hash, NumberFor<Block>),
set_id: u64,