Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit e8b3ea1

Browse files
committed
make check_elgamal_registry_program_account pub(crate)
1 parent 71d5e3b commit e8b3ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

token/program-2022/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub fn check_system_program_account(system_program_id: &Pubkey) -> ProgramResult
131131
}
132132

133133
/// Checks if the supplied program ID is that of the ElGamal registry program
134-
pub fn check_elgamal_registry_program_account(
134+
pub(crate) fn check_elgamal_registry_program_account(
135135
elgamal_registry_account_program_id: &Pubkey,
136136
) -> ProgramResult {
137137
if elgamal_registry_account_program_id != &spl_elgamal_registry::id() {

0 commit comments

Comments
 (0)