Skip to content

Commit

Permalink
Add TODO comment to warn future delete case
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin Qiao committed Apr 29, 2020
1 parent a326107 commit cce60d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/neo/Ledger/Blockchain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ private void Persist(Block block)
}
snapshot.Blocks.Add(block.Hash, block.Trim());
StoreView clonedSnapshot = snapshot.Clone();
// TODO: Handle occassions where Datacache.Delete() is called by variable snapshot
foreach (Transaction tx in block.Transactions)
{
var state = new TransactionState
Expand Down

0 comments on commit cce60d5

Please sign in to comment.