From b0318bbe5e6f333564e644d39b616b0a5a0f4ebe Mon Sep 17 00:00:00 2001 From: brewmaster012 <88689859+brewmaster012@users.noreply.github.com> Date: Wed, 2 Oct 2024 10:59:36 -0500 Subject: [PATCH] update comment in code that is inaccurate --- programs/protocol-contracts-solana/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/programs/protocol-contracts-solana/src/lib.rs b/programs/protocol-contracts-solana/src/lib.rs index 14b6cc8..ede9234 100644 --- a/programs/protocol-contracts-solana/src/lib.rs +++ b/programs/protocol-contracts-solana/src/lib.rs @@ -164,7 +164,8 @@ pub mod gateway { return Ok(()); } - // only tss address stored in PDA can call this instruction + // require tss address signature on the internal message defined in the following + // concatenated_buffer vec. pub fn withdraw( ctx: Context, amount: u64, @@ -206,7 +207,8 @@ pub mod gateway { Ok(()) } - // only tss address stored in PDA can call this instruction + // require tss address signature on the internal message defined in the following + // concatenated_buffer vec. pub fn withdraw_spl_token( ctx: Context, amount: u64,