Use add_builtin, as user-supplied builtins may not yet exist
This commit is contained in:
parent
3f841df7cf
commit
81f38738e8
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue