You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feels like a best practice when generating instructions for cross program invocation.
The main purpose of this is to help guard against bugs that may arise when the accounts in the user's instruction do not match up to those expected in the Processor.
See process_exchange_writer_token_for_quote for an example of how this can be done when burning/transfering SPL tokens
The text was updated successfully, but these errors were encountered:
This feels like a best practice when generating instructions for cross program invocation.
The main purpose of this is to help guard against bugs that may arise when the accounts in the user's instruction do not match up to those expected in the Processor.
See
process_exchange_writer_token_for_quote
for an example of how this can be done when burning/transfering SPL tokensThe text was updated successfully, but these errors were encountered: