Prevent privilege escalation (#10232) (#10247)

automerge
This commit is contained in:
mergify[bot]
2020-05-26 02:39:28 -07:00
committed by GitHub
parent 0578801f99
commit 8c8e2c4b2b
13 changed files with 458 additions and 392 deletions

View File

@@ -154,7 +154,6 @@ pub trait InvokeContext {
&mut self,
message: &Message,
instruction: &CompiledInstruction,
signers: &[Pubkey],
accounts: &[Rc<RefCell<Account>>],
) -> Result<(), InstructionError>;
fn get_caller(&self) -> Result<&Pubkey, InstructionError>;