From 2ebe355f1a865d535d026d3b9793b7cef92311b2 Mon Sep 17 00:00:00 2001 From: hana <81144685+2501babe@users.noreply.github.com> Date: Wed, 27 Nov 2024 12:23:17 -0800 Subject: [PATCH] reword --- svm/src/account_loader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svm/src/account_loader.rs b/svm/src/account_loader.rs index 8796fe2e1ff108..fff50013296eff 100644 --- a/svm/src/account_loader.rs +++ b/svm/src/account_loader.rs @@ -161,7 +161,7 @@ impl<'a, CB: TransactionProcessingCallback> AccountLoader<'a, CB> { let account = if let Some(account) = self.account_cache.get(account_key) { // If lamports is 0, a previous transaction deallocated this account. - // We must shadow the cache entry so the account may be reopened. + // We return None instead of the account we found so it can be created fresh. // We never evict from the cache, or else we would fetch stale state from accounts-db. if account.lamports() == 0 { None