(cherry picked from commit 7ba57e7a7c
)
Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
@@ -217,7 +217,7 @@ impl Accounts {
|
||||
message: &SanitizedMessage,
|
||||
is_owned_by_sysvar: bool,
|
||||
) -> AccountSharedData {
|
||||
let data = construct_instructions_data(message);
|
||||
let data = construct_instructions_data(&message.decompile_instructions());
|
||||
let owner = if is_owned_by_sysvar {
|
||||
sysvar::id()
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user