sc-finality-grandpa: Warp proof generation can not expect justifications (#13249)

When a node is running with `--blocks-pruning` it will also prunes justifications. So, the warp
proof generation can not use `expect` for unwrapping the justification.
This commit is contained in:
Bastian Köcher authored and GitHub committed 2023-01-28 20:10:40 +01:00
1 parent 175072d572
commit 1aaea41155
2 files changed
+2 -5

No files matched your search

@@ -49,6 +49,7 @@ pub struct PruningParams {
/// [default: 256]
#[arg(alias = "pruning", long, value_name = "PRUNING_MODE")]
pub state_pruning: Option<DatabasePruningMode>,
/// Specify the blocks pruning mode.
///
/// This mode specifies when the block's body (including justifications)