pub fn to_bytes(pubkey: &Pubkey) -> [u8; 32]
Convert to bytes with only the reference of a [Pubkey].
Pubkey