Blob verify (#4951)

* Ensure signable data is not out of range

* Add a broadcast stage that puts bad sizes in blobs

* Resign blob after modifyign size

* Remove assertions that fail when size != meta.size
This commit is contained in:
carllin
2019-07-08 18:21:52 -07:00
committed by GitHub
parent 417e8d5064
commit 22ef3c7c54
7 changed files with 121 additions and 63 deletions

View File

@@ -1490,8 +1490,6 @@ fn recover(
}
}
assert_ne!(size, 0);
for i in start_idx..data_end_idx {
let set_relative_idx = erasure_meta.data_index_in_set(i).unwrap() as usize;