mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
compile errors fixed when DEBUG_CREATE_BLOCK_TEMPLATE defined
This commit is contained in:
parent
7c899ec33a
commit
e49c161987
3 changed files with 8 additions and 2 deletions
|
@ -1105,7 +1105,7 @@ bool Blockchain::create_block_template(block& b, const account_public_address& m
|
|||
}
|
||||
else
|
||||
{
|
||||
if (cur_tx.fee != cur_tx.tx.txnFee)
|
||||
if (cur_tx.fee != cur_tx.tx.rct_signatures.txnFee)
|
||||
{
|
||||
LOG_ERROR("Creating block template: error: invalid fee");
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ namespace cryptonote
|
|||
|
||||
#if defined(DEBUG_CREATE_BLOCK_TEMPLATE)
|
||||
LOG_PRINT_L1("Creating block template: reward " << block_reward <<
|
||||
", fee " << fee)
|
||||
", fee " << fee);
|
||||
#endif
|
||||
block_reward += fee;
|
||||
|
||||
|
|
|
@ -455,8 +455,14 @@ namespace cryptonote
|
|||
*/
|
||||
typedef std::unordered_map<crypto::key_image, std::unordered_set<crypto::hash> > key_images_container;
|
||||
|
||||
#if defined(DEBUG_CREATE_BLOCK_TEMPLATE)
|
||||
public:
|
||||
#endif
|
||||
mutable epee::critical_section m_transactions_lock; //!< lock for the pool
|
||||
transactions_container m_transactions; //!< container for transactions in the pool
|
||||
#if defined(DEBUG_CREATE_BLOCK_TEMPLATE)
|
||||
private:
|
||||
#endif
|
||||
|
||||
//! container for spent key images from the transactions in the pool
|
||||
key_images_container m_spent_key_images;
|
||||
|
|
Loading…
Reference in a new issue