Make default programs static (#9717)
This commit is contained in:
@ -438,7 +438,7 @@ fn main() -> Result<(), Box<dyn error::Error>> {
|
||||
);
|
||||
|
||||
let native_instruction_processors =
|
||||
solana_genesis_programs::get_programs(operating_mode, 0).unwrap();
|
||||
solana_genesis_programs::get_programs(operating_mode, 0).unwrap_or_else(|| vec![]);
|
||||
let inflation = solana_genesis_programs::get_inflation(operating_mode, 0).unwrap();
|
||||
|
||||
let mut genesis_config = GenesisConfig {
|
||||
|
Reference in New Issue
Block a user