Skip to content

Commit

Permalink
Remove unnecessary code and revert previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SwitchyTheCoder committed Dec 28, 2018
1 parent 5387580 commit eb7caa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion neo/Ledger/Blockchain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ private void OnRegister()

private void Persist(Block block)
{
List<ApplicationExecutionResult> all_execution_results = new List<ApplicationExecutionResult>();
using (Snapshot snapshot = GetSnapshot())
{
List<ApplicationExecuted> all_application_executed = new List<ApplicationExecuted>();
Expand Down
3 changes: 2 additions & 1 deletion neo/Plugins/IPersistencePlugin.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
using Neo.Ledger;
using Neo.Persistence;
using System.Collections.Generic;
using static Neo.Ledger.Blockchain;

namespace Neo.Plugins
{
public interface IPersistencePlugin
{
void OnPersist(Snapshot snapshot, List<Blockchain.ApplicationExecuted> applicationExecutedList);
void OnPersist(Snapshot snapshot, List<ApplicationExecuted> applicationExecutedList);
}
}

0 comments on commit eb7caa7

Please sign in to comment.