From e7fc55c4dd22a20bde532439b142c36a72ad3584 Mon Sep 17 00:00:00 2001 From: ibhatt-jumptrading Date: Mon, 5 Aug 2024 23:03:27 +0000 Subject: [PATCH] use const data instead of data --- src/flamenco/runtime/program/fd_bpf_loader_serialization.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flamenco/runtime/program/fd_bpf_loader_serialization.c b/src/flamenco/runtime/program/fd_bpf_loader_serialization.c index eb7fda1cdd..b8a8f52924 100644 --- a/src/flamenco/runtime/program/fd_bpf_loader_serialization.c +++ b/src/flamenco/runtime/program/fd_bpf_loader_serialization.c @@ -708,7 +708,7 @@ fd_bpf_loader_input_deserialize_unaligned( fd_exec_instr_ctx_t ctx, return err; } } else if( view_acc->const_meta->dlen != pre_len || - memcmp( post_data, view_acc->data, pre_len ) ) { + memcmp( post_data, view_acc->const_data, pre_len ) ) { return err; } }