mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
ci: use 24.04 instead of lunar for tidy and fuzz ci
This commit is contained in:
parent
979170fd2c
commit
833eaacade
19 changed files with 30 additions and 32 deletions
|
|
@ -1495,9 +1495,9 @@ static RPCHelpMan finalizecompactblock()
|
|||
PartiallyDownloadedBlock partialBlock(&dummy_pool);
|
||||
|
||||
// "Extra" list is really our combined list that will be put into place using InitData
|
||||
std::vector<std::pair<uint256, CTransactionRef>> extra_txn;
|
||||
std::vector<std::pair<uint256, CTransactionRef>> extra_txn(found.size());
|
||||
for (const auto& found_tx : found) {
|
||||
extra_txn.push_back(std::make_pair(found_tx->GetWitnessHash(), found_tx));
|
||||
extra_txn.emplace_back(found_tx->GetWitnessHash(), found_tx);
|
||||
}
|
||||
std::shared_ptr<CBlock> pblock = std::make_shared<CBlock>();
|
||||
if (partialBlock.InitData(cmpctblock, extra_txn) != READ_STATUS_OK) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue