Translate data length as mutable (#13956)
This commit is contained in:
parent
5dceddd21d
commit
f1fd999bb0
|
@ -862,7 +862,7 @@ impl<'a> SyscallInvokeSigned<'a> for SyscallInvokeSignedRust<'a> {
|
|||
)?;
|
||||
let translated = translate(
|
||||
memory_mapping,
|
||||
AccessType::Load,
|
||||
AccessType::Store,
|
||||
unsafe { (account_info.data.as_ptr() as *const u64).offset(1) as u64 },
|
||||
8,
|
||||
)? as *mut u64;
|
||||
|
|
Loading…
Reference in New Issue