We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4207a commit fa62883Copy full SHA for fa62883
svm/src/account_loader.rs
@@ -215,9 +215,9 @@ fn load_transaction_accounts<CB: TransactionProcessingCallback>(
215
} else {
216
let is_account_writable = message.is_writable(i);
217
callbacks
218
- .load_account_with(key, |account| {
219
- // only cache non program accounts
220
- !program_owners.contains(account.owner())
+ .load_account_with(key, |_account| {
+ // cache the account in read-only cache
+ true
221
})
222
.map(|(mut account, _slot)| {
223
if program_owners.contains(account.owner()) {
0 commit comments