diff --git a/program-test/src/lib.rs b/program-test/src/lib.rs index d0309cfd23..f962ced0d8 100644 --- a/program-test/src/lib.rs +++ b/program-test/src/lib.rs @@ -629,7 +629,7 @@ impl ProgramTest { // User-supplied additional builtins for builtin in self.builtins { - bank.replace_builtin( + bank.add_builtin( &builtin.name, builtin.id, builtin.process_instruction_with_context,