From df9ac94ab31ad536417084e025dffc4e85774e83 Mon Sep 17 00:00:00 2001 From: Artem Gureev Date: Thu, 20 Aug 2026 16:47:51 +0000 Subject: [PATCH] docs(lee): frame prefix counts payload bytes, not frames --- lee/state_machine/core/src/program/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lee/state_machine/core/src/program/mod.rs b/lee/state_machine/core/src/program/mod.rs index 9860030f7..b7f0a5791 100644 --- a/lee/state_machine/core/src/program/mod.rs +++ b/lee/state_machine/core/src/program/mod.rs @@ -691,7 +691,7 @@ pub fn compute_public_authorized_pdas( } /// Reads first 4 bytes indicating the length in bytes of the program input bytes. -/// Afterwards, reads the exact number of frames in the header. +/// Afterwards, reads exactly that many payload bytes. #[must_use] pub fn read_input_frame() -> Vec { let mut len_bytes = [0; 4];