From 6ef3490a45ee6bf00ce4b8a0032b07d3ed3409c4 Mon Sep 17 00:00:00 2001 From: benesjan Date: Thu, 10 Oct 2024 15:44:35 +0000 Subject: [PATCH] comment fix --- .../noir-contracts/contracts/nft_contract/src/main.nr | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr b/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr index 3d93127c76b..e34c596e5ef 100644 --- a/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr +++ b/noir-projects/noir-contracts/contracts/nft_contract/src/main.nr @@ -185,9 +185,8 @@ contract NFT { #[internal] fn _store_point_in_transient_storage(point: Point) { let slot = point.x; - // We don't perform check for the overwritten value to be non-zero because the slot is implictly siloed to `to` - // (`to_note_slot` is part of the hiding point preimage) and hence `to` can interfere only with his own - // execution. + // We don't perform a check for the overwritten value to be zero because the slot is the x-coordinate + // of the hiding point and hence we could only overwrite the value in the slot with the same value. context.storage_write(slot, point); }