Skip to content

Commit

Permalink
Update src/neo/Ledger/Blockchain.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Shargon <[email protected]>
  • Loading branch information
erikzhang and shargon authored Jan 28, 2021
1 parent 215e9f4 commit 322a7c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/neo/Ledger/Blockchain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ public class RelayResult { public IInventory Inventory; public VerifyResult Resu
private ImmutableHashSet<UInt160> extensibleWitnessWhiteList;

public IStore Store { get; }
/// <summary>
/// It doesn't need to be disposed because the ISnapshot inside it is null.
/// </summary>
public DataCache View => new SnapshotCache(Store);
public MemoryPool MemPool { get; }

Expand Down

0 comments on commit 322a7c2

Please sign in to comment.