AccountSharedData.set_data (#15781)
* account.set_data and resize_data * remove data_resize
This commit is contained in:
committed by
GitHub
parent
e1ceb430e3
commit
3419a5446e
@ -161,7 +161,7 @@ pub fn builtin_process_instruction(
|
||||
let key = keyed_account.unsigned_key();
|
||||
let (lamports, data, _owner) = &account_refs[key];
|
||||
account.lamports = **lamports.borrow();
|
||||
account.data = data.borrow().to_vec();
|
||||
account.set_data(data.borrow().to_vec());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user