Ejemplo n.º 1
0
        public override async Task BeforeRevert()
        {
            var block = await Cache.Blocks.CurrentAsync();

            await SnapshotBalanceCommit.Revert(this, block);
        }
Ejemplo n.º 2
0
        public override async Task AfterCommit(IBlock rawBlock)
        {
            var block = await Cache.Blocks.CurrentAsync();

            await SnapshotBalanceCommit.Apply(this, rawBlock, block);
        }