diff --git a/data-model/src/store.rs b/data-model/src/store.rs index 592d2ef..4c6f0ab 100644 --- a/data-model/src/store.rs +++ b/data-model/src/store.rs @@ -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( &self, expected_digest: PD,