diff --git a/zk-token-sdk/src/instruction/transfer.rs b/zk-token-sdk/src/instruction/transfer.rs index 16dcde92a..81b14cedc 100644 --- a/zk-token-sdk/src/instruction/transfer.rs +++ b/zk-token-sdk/src/instruction/transfer.rs @@ -142,7 +142,7 @@ impl TransferData { } /// Extracts the lo ciphertexts associated with a transfer data - pub fn ciphertext_lo(&self, role: &Role) -> Result { + fn ciphertext_lo(&self, role: &Role) -> Result { let transfer_comm_lo: PedersenCommitment = self.amount_comms.lo.try_into()?; let decryption_handle_lo = match role { @@ -156,7 +156,7 @@ impl TransferData { } /// Extracts the lo ciphertexts associated with a transfer data - pub fn ciphertext_hi(&self, role: &Role) -> Result { + fn ciphertext_hi(&self, role: &Role) -> Result { let transfer_comm_hi: PedersenCommitment = self.amount_comms.hi.try_into()?; let decryption_handle_hi = match role {