We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b272c commit ea1d157Copy full SHA for ea1d157
1 file changed
program/src/processor/write.rs
@@ -58,6 +58,7 @@ pub fn write(accounts: &[AccountInfo], instruction_data: &[u8]) -> ProgramResult
58
// SAFETY: single mutable borrow of `buffer` account data. There
59
// are no other borrows active.
60
let data = unsafe { buffer.borrow_mut_data_unchecked() };
61
+ let instruction_data = args.data();
62
63
unsafe {
64
sol_memcpy(
0 commit comments