Skip to content

Commit

Permalink
Fix lints (#2628)
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl authored Oct 26, 2023
1 parent 583704a commit c842935
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3015,7 +3015,7 @@ bool CChainState::ConnectBlock(const CBlock &block,
TaskGroup g;
auto &pool = DfTxTaskPool->pool;

for (auto const &txRef: block.vtx) {
for (const auto &txRef : block.vtx) {
const auto &tx = *txRef;
if (tx.IsCoinBase()) {
continue;
Expand All @@ -3024,8 +3024,8 @@ bool CChainState::ConnectBlock(const CBlock &block,
const auto txType = GuessCustomTxType(tx, metadata, true);
if (txType == CustomTxType::EvmTx) {
CCustomTxMessage txMessage{CEvmTxMessage{}};
const auto res = CustomMetadataParse(
std::numeric_limits<uint32_t>::max(), consensus, metadata, txMessage);
const auto res =
CustomMetadataParse(std::numeric_limits<uint32_t>::max(), consensus, metadata, txMessage);
if (!res) {
continue;
}
Expand Down

0 comments on commit c842935

Please sign in to comment.