mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
bump reed-solomon-novelpoly to v0.0.3 (#2650)
This commit is contained in:
committed by
GitHub
parent
ea6294fa79
commit
df3fef3fd9
@@ -216,6 +216,7 @@ fn reconstruct<'a, I: 'a, T: Decode>(n_validators: usize, chunks: I) -> Result<T
|
||||
novelpoly::Error::WantedShardCountTooHigh(_) => return Err(Error::TooManyValidators),
|
||||
novelpoly::Error::WantedShardCountTooLow(_) => return Err(Error::NotEnoughValidators),
|
||||
novelpoly::Error::PayloadSizeIsZero { .. } => return Err(Error::BadPayload),
|
||||
novelpoly::Error::InconsistentShardLengths { .. } => return Err(Error::NonUniformChunks),
|
||||
_ => return Err(Error::UnknownReconstruction),
|
||||
}
|
||||
Ok(payload_bytes) => payload_bytes,
|
||||
|
||||
Reference in New Issue
Block a user