예제 #1
0
 public async Task HandleEventAsync(BlockAcceptedEvent eventData)
 {
     await _logEventListeningService.ApplyAsync(new[] { eventData.Block });
 }
 public async Task HandleEventAsync(BestChainFoundEventData eventData)
 {
     await _logEventListeningService.ApplyAsync(eventData.ExecutedBlocks);
 }