Upgradeable programs needs program account's address as program id (#14417)

This commit is contained in:
Jack May
2021-01-04 13:45:05 -08:00
committed by GitHub
parent a41b5137f6
commit 0619805806
6 changed files with 48 additions and 65 deletions

View File

@ -248,6 +248,7 @@ pub trait Executor: Debug + Send + Sync {
/// Execute the program
fn execute(
&self,
loader_id: &Pubkey,
program_id: &Pubkey,
keyed_accounts: &[KeyedAccount],
instruction_data: &[u8],