Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
asdacap committed Nov 9, 2024
1 parent ae77413 commit 4ed355c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private void TrySetNewBestHeader(string msg)
BlockHeader bestHeader = _blockTree.FindHeader(targetBlockNumber);
if (bestHeader is not null)
{
_logger.Info($"Snap - {msg} - Pivot changed from {_bestHeader?.Number} to {bestHeader.Number}");
if (_logger.IsInfo) _logger.Info($"Snap - {msg} - Pivot changed from {_bestHeader?.Number} to {bestHeader.Number}");
_bestHeader = bestHeader;
}
}
Expand Down

0 comments on commit 4ed355c

Please sign in to comment.