Skip to content

Commit

Permalink
Removing block_reveived_time
Browse files Browse the repository at this point in the history
  • Loading branch information
vncoelho authored Mar 7, 2019
1 parent 2579e18 commit c78adfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion neo/Consensus/ConsensusService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ private void OnConsensusPayload(ConsensusPayload payload)
private void OnPersistCompleted(Block block)
{
Log($"persist block: {block.Hash}");
block_received_time = TimeProvider.Current.UtcNow;
reference_block_time = TimeProvider.Current.UtcNow;
uint theoreticalDelay = reference_block_time.ToTimestamp() - block.Timestamp;
// maximum expected delay is 5 seconds (this can be moved as a configuration parameter along with block time
Expand Down

0 comments on commit c78adfb

Please sign in to comment.