Programs can only sign their accounts
This commit is contained in:
@ -157,4 +157,5 @@ pub trait InvokeContext {
|
||||
signers: &[Pubkey],
|
||||
accounts: &[Rc<RefCell<Account>>],
|
||||
) -> Result<(), InstructionError>;
|
||||
fn get_caller(&self) -> Result<&Pubkey, InstructionError>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user