Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon committed Jul 8, 2024
1 parent 2c01ed4 commit 8822ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Neo/Ledger/Blockchain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ApplicationExecuted> all_application_executed = new();
TransactionState[] transactionStates;
Expand Down

0 comments on commit 8822ad9

Please sign in to comment.