Skip to content

Commit eb867b5

Browse files
moviendomeclaude
andcommitted
docs(basics/favorites): discriminator comment — 8 bytes, not 8 bits
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5f48511 commit eb867b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • basics/favorites/anchor/programs/favorites/src

basics/favorites/anchor/programs/favorites/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use anchor_lang::prelude::*;
33
// This matches the key in the target/deploy directory
44
declare_id!("ww9C83noARSQVBnqmCUmaVdbJjmiwcV9j2LkXYMoUCV");
55

6-
// Anchor programs always use 8 bits for the discriminator
6+
// Anchor programs always use 8 bytes for the discriminator
77
pub const ANCHOR_DISCRIMINATOR_SIZE: usize = 8;
88

99
// Our Solana program!

0 commit comments

Comments
 (0)