make GrandpaJustification::decode_and_verify_finalizes public (#5746)

This commit is contained in:
Svyatoslav Nikolsky authored and GitHub committed 2020-04-23 12:07:08 +01:00
1 parent 1a41b88430
commit 8689a97a0d
1 file changed
+1 -1
@@ -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,