mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-01 05:41:03 +00:00
make GrandpaJustification::decode_and_verify_finalizes public (#5746)
This commit is contained in:
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'
|
/// Decode a GRANDPA justification and validate the commit and the votes'
|
||||||
/// ancestry proofs finalize the given block.
|
/// ancestry proofs finalize the given block.
|
||||||
pub(crate) fn decode_and_verify_finalizes(
|
pub fn decode_and_verify_finalizes(
|
||||||
encoded: &[u8],
|
encoded: &[u8],
|
||||||
finalized_target: (Block::Hash, NumberFor<Block>),
|
finalized_target: (Block::Hash, NumberFor<Block>),
|
||||||
set_id: u64,
|
set_id: u64,
|
||||||
|
|||||||
Reference in New Issue
Block a user