Skip to content

Commit ec6aea0

Browse files
runtime: removing incorrect check in executor
1 parent f05faa4 commit ec6aea0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
36b61931456ceaaa8f755fe070e5d1c70a835a2d
1+
23f340fd65d260dbb590f204dedfa9add60f46c0

src/flamenco/runtime/fd_executor.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,8 +1143,7 @@ fd_instr_stack_push( fd_exec_txn_ctx_t * txn_ctx,
11431143
int err = fd_exec_txn_ctx_get_key_of_account_at_index( txn_ctx,
11441144
instr->program_id,
11451145
&program_id_pubkey );
1146-
if( FD_UNLIKELY( err ||
1147-
!memcmp( program_id_pubkey->key, fd_solana_native_loader_id.key, sizeof(fd_pubkey_t) ) ) ) {
1146+
if( FD_UNLIKELY( err ) ) {
11481147
return FD_EXECUTOR_INSTR_ERR_UNSUPPORTED_PROGRAM_ID;
11491148
}
11501149

0 commit comments

Comments
 (0)