Skip to content

Commit

Permalink
Add 0 entry to vTxSigOps when adding quorum commitments (#2489)
Browse files Browse the repository at this point in the history
This fixes a crash observed on Travis. The same crash is likely to happen
outside of Travis as well later.
  • Loading branch information
codablock authored and UdjinM6 committed Nov 25, 2018
1 parent 67483cd commit 66612cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(const CScript& sc
if (llmq::quorumBlockProcessor->GetMinableCommitmentTx(p.first, pindexPrev, qcTx)) {
pblock->vtx.emplace_back(qcTx);
pblocktemplate->vTxFees.emplace_back(0);
pblocktemplate->vTxSigOps.emplace_back(0);
}
}
}
Expand Down

0 comments on commit 66612cc

Please sign in to comment.