ReadableAccount.data returns slice (#16686)
* ReadAbleAccount.data returns slice * more slice fixup * more slice * slice
This commit is contained in:
committed by
GitHub
parent
08d5253651
commit
03f7b251b8
@@ -154,7 +154,7 @@ impl NativeLoader {
|
||||
// still exists even after invoke_context.remove_first_keyed_account() is called
|
||||
(
|
||||
*program.unsigned_key(),
|
||||
&program.try_account_ref()?.data().clone(),
|
||||
&program.try_account_ref()?.data().to_vec(),
|
||||
)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user