codemod --extensions rs loader_program_id loader

This commit is contained in:
Michael Vines
2018-11-12 09:11:24 -08:00
parent e702515312
commit 49f4be6a2b
8 changed files with 21 additions and 21 deletions

View File

@ -16,7 +16,7 @@ pub struct Account {
pub executable: bool,
/// the loader for this program (Pubkey::default() for no loader)
pub loader_program_id: Pubkey,
pub loader: Pubkey,
}
impl Account {
@ -27,7 +27,7 @@ impl Account {
userdata: vec![0u8; space],
program_id,
executable: false,
loader_program_id: Pubkey::default(),
loader: Pubkey::default(),
}
}
}