parent
509bcd2e74
commit
e19c7923c3
|
@ -537,7 +537,7 @@ impl Shred {
|
|||
block.resize(size, 0u8);
|
||||
}
|
||||
ShredType::Code => {
|
||||
// SIZE_OF_CODING_SHRED_HEADERS bytes at the begining of the
|
||||
// SIZE_OF_CODING_SHRED_HEADERS bytes at the beginning of the
|
||||
// coding shreds contains the header and is not part of erasure
|
||||
// coding.
|
||||
let offset = SIZE_OF_CODING_SHRED_HEADERS.min(block.len());
|
||||
|
|
Loading…
Reference in New Issue