Use add_builtin, as user-supplied builtins may not yet exist

This commit is contained in:
Michael Vines 2020-12-02 13:30:43 -08:00
parent 3f841df7cf
commit 81f38738e8
1 changed files with 1 additions and 1 deletions

View File

@ -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,