diff --git a/yarn-project/aztec-nr/aztec/src/state_vars/public_state.nr b/yarn-project/aztec-nr/aztec/src/state_vars/public_state.nr index b24c4a3323e0..10970a92c0dd 100644 --- a/yarn-project/aztec-nr/aztec/src/state_vars/public_state.nr +++ b/yarn-project/aztec-nr/aztec/src/state_vars/public_state.nr @@ -31,7 +31,7 @@ impl PublicState { // docs:start:public_state_struct_read pub fn read(self) -> T { - assert(self.context.private.is_none(), "Public state writes only supported in public functions"); + assert(self.context.private.is_none(), "Public state reads only supported in public functions"); storage_read(self.storage_slot, self.serialization_methods.deserialize) } // docs:end:public_state_struct_read