Log message fixes

This commit is contained in:
SChernykh 2021-08-25 09:52:06 +02:00
parent a27577f735
commit 8f2493edfc
2 changed files with 2 additions and 1 deletions

View file

@ -495,6 +495,7 @@ void BlockTemplate::update(const MinerData& data, const Mempool& mempool, Wallet
LOGINFO(3, "final reward = " << log::Gray() << final_reward << log::NoColor() <<
", weight = " << log::Gray() << final_weight << log::NoColor() <<
", outputs = " << log::Gray() << m_poolBlockTemplate->m_outputs.size() << log::NoColor() <<
", " << log::Gray() << m_numTransactionHashes << log::NoColor() <<
" of " << log::Gray() << m_mempoolTxs.size() << log::NoColor() << " transactions included");

View file

@ -411,7 +411,7 @@ bool SideChain::add_external_block(PoolBlock& block, std::vector<hash>& missing_
}
if (!block.m_difficulty.check_pow(pow_hash)) {
LOGWARN(3, "add_external_block: not enougn PoW for height = " << block.m_sidechainHeight << ", mainchain height " << block.m_txinGenHeight);
LOGWARN(3, "add_external_block: not enough PoW for height = " << block.m_sidechainHeight << ", mainchain height " << block.m_txinGenHeight);
return false;
}