Fix: init Merkle tree before selecting txs

This commit is contained in:
SChernykh
2024-06-18 18:27:07 +02:00
parent 3ce57ec254
commit 245e6fd9e8
2 changed files with 69 additions and 64 deletions
+1
View File
@@ -73,6 +73,7 @@ private:
RandomX_Hasher_Base* m_hasher;
private:
void select_mempool_transactions(const Mempool& mempool);
int create_miner_tx(const MinerData& data, const std::vector<MinerShare>& shares, uint64_t max_reward_amounts_weight, bool dry_run);
hash calc_sidechain_hash(uint32_t sidechain_extra_nonce) const;
hash calc_miner_tx_hash(uint32_t extra_nonce) const;