mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 15:21:30 +02:00
bug fix in new block merge
This commit is contained in:
@@ -409,7 +409,7 @@ namespace monero {
|
||||
if (m_block == boost::none) {
|
||||
m_block = other->m_block;
|
||||
std::replace(m_block.get()->m_txs.begin(), m_block.get()->m_txs.end(), other, self); // update block to point to this tx
|
||||
} else if (other->m_block == boost::none) {
|
||||
} else if (other->m_block != boost::none) {
|
||||
m_block.get()->merge(m_block.get(), other->m_block.get()); // comes back to merging txs
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user