Simplifies return_data accessors in InvokeContext. (#20290)
This commit is contained in:
committed by
GitHub
parent
57c8abf499
commit
4de5fff3ca
@ -602,7 +602,7 @@ impl InstructionProcessor {
|
||||
invoke_context.verify_and_update(instruction, account_indices, caller_write_privileges)?;
|
||||
|
||||
// clear the return data
|
||||
invoke_context.set_return_data(None);
|
||||
invoke_context.set_return_data(Vec::new())?;
|
||||
|
||||
// Invoke callee
|
||||
invoke_context.push(
|
||||
|
Reference in New Issue
Block a user