Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Mar 5, 2025
1 parent e0ae047 commit 08dbc24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions programs/sbf/rust/invoke/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1482,8 +1482,6 @@ fn process_instruction<'a>(
#[cfg(feature = "dynamic-frames")]
// When we have dynamic frames, the stack grows from the higher addresses, so we
// compare from zero until the beginning of a function frame.
// We have 64 * 4096 = 262.144 bytes of stack space, and we consider around 2 * 4096
// already used by the current function and previous calls.
{
const ZEROED_BYTES_LENGTH: usize = (MAX_CALL_DEPTH - 2) * STACK_FRAME_SIZE;
assert_eq!(sol_memcmp(stack, &ZEROS, ZEROED_BYTES_LENGTH), 0);
Expand Down

0 comments on commit 08dbc24

Please sign in to comment.