Distribute a PoV after seconding it (#1924)

We need to distribute the PoV after we have seconded it. Other nodes
that will receive our `Secondded` statement and want to validate the
candidate another time will request this PoV from us.
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-11-06 08:38:44 +00:00
1 parent 2cdc1c0409
commit 8a2911b85d
9 files changed
+63 -43

No files matched your search

@@ -318,7 +318,7 @@ fn erasure_root(
) -> crate::error::Result<Hash> {
let available_data = AvailableData {
validation_data: persisted_validation,
pov,
pov: Arc::new(pov),
};
let chunks = polkadot_erasure_coding::obtain_chunks_v1(n_validators, &available_data)?;