Skip to content

Commit

Permalink
merge bitcoin#23819: don't serialize block hash twice
Browse files Browse the repository at this point in the history
continuation of 7f2c84b in dash#5042

Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
  • Loading branch information
kwvg and UdjinM6 committed Oct 29, 2024
1 parent 9a8d6e1 commit c2defe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2307,12 +2307,12 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
::g_stats_client->gauge("blocks.tip.SigOps", nSigOps, 1.0f);

TRACE6(validation, block_connected,
block.GetHash().data(),
block_hash.data(),
pindex->nHeight,
block.vtx.size(),
nInputs,
nSigOps,
GetTimeMicros() - nTimeStart // in microseconds (µs)
nTime8 - nTimeStart // in microseconds (µs)
);

return true;
Expand Down

0 comments on commit c2defe7

Please sign in to comment.