Remove vest program from Preview/Stable

This commit is contained in:
Michael Vines 2020-08-28 18:14:56 -07:00
parent 9081f672d3
commit 42620e7f39
1 changed files with 5 additions and 8 deletions

View File

@ -103,7 +103,7 @@ fn get_programs(operating_mode: OperatingMode) -> Vec<(Program, Epoch)> {
// The epoch of Epoch::max_value() is a placeholder and is expected
// to be reduced in a future network update.
programs.extend(
vec![Program::Native(solana_vest_program!())]
vec![]
.into_iter()
.map(|program| (program, Epoch::MAX))
.collect::<Vec<_>>(),
@ -117,13 +117,10 @@ fn get_programs(operating_mode: OperatingMode) -> Vec<(Program, Epoch)> {
// The epoch of std::u64::MAX is a placeholder and is expected
// to be reduced in a future network update.
programs.extend(
vec![
Program::BuiltinLoader(solana_bpf_loader_program!()),
Program::Native(solana_vest_program!()),
]
.into_iter()
.map(|program| (program, Epoch::MAX))
.collect::<Vec<_>>(),
vec![Program::BuiltinLoader(solana_bpf_loader_program!())]
.into_iter()
.map(|program| (program, Epoch::MAX))
.collect::<Vec<_>>(),
);
}
};