Skip to content

Commit

Permalink
Update data-model/src/store.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Aljoscha Meyer <[email protected]>
  • Loading branch information
sgwilym and AljoschaMeyer authored Aug 26, 2024
1 parent 9277add commit 32c9318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-model/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ where
/// - The final payload's digest did not match the expected digest
/// - Something else went wrong, e.g. there was no space for the payload on disk.
///
/// This method **cannot** verify the integrity of partial payload. This means that arbitrary (and possibly malicious) payloads smaller than the expected size will be stored unless partial verification is implemented upstream (e.g. during [the Willow General Sync Protocol's payload transformation](https://willowprotocol.org/specs/sync/index.html#sync_payloads_transform)).
/// This method **cannot** verify the integrity of partial payloads. This means that arbitrary (and possibly malicious) payloads smaller than the expected size will be stored unless partial verification is implemented upstream (e.g. during [the Willow General Sync Protocol's payload transformation](https://willowprotocol.org/specs/sync/index.html#sync_payloads_transform)).
fn append_payload<Producer>(
&self,
expected_digest: PD,
Expand Down

0 comments on commit 32c9318

Please sign in to comment.