Skip to content

Commit

Permalink
Fix get_return_data method (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aursen authored Dec 31, 2024
1 parent cf4f661 commit edf8729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/pinocchio/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ pub fn get_return_data() -> Option<ReturnData> {

let size = unsafe {
crate::syscalls::sol_get_return_data(
data.as_mut_ptr(),
data.as_mut_ptr() as *mut u8,
data.len() as u64,
&mut program_id,
)
Expand Down

0 comments on commit edf8729

Please sign in to comment.