From 8822ad97a64452eab4af81897b9cb9e74606d600 Mon Sep 17 00:00:00 2001 From: Shargon Date: Mon, 8 Jul 2024 01:23:58 -0700 Subject: [PATCH] Remove warning --- src/Neo/Ledger/Blockchain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Neo/Ledger/Blockchain.cs b/src/Neo/Ledger/Blockchain.cs index f63e42e8fe..e9e3cb0020 100644 --- a/src/Neo/Ledger/Blockchain.cs +++ b/src/Neo/Ledger/Blockchain.cs @@ -421,7 +421,7 @@ private void OnTransaction(Transaction tx) private void Persist(Block block) { - using (SnapshotCache snapshot = system.GetSnapshot()) + using (SnapshotCache snapshot = system.GetSnapshotCache()) { List all_application_executed = new(); TransactionState[] transactionStates;