compiling with daemon model merge definition

This commit is contained in:
woodser
2019-06-11 13:18:52 -04:00
parent 3757513f62
commit d43b2d5479
3 changed files with 17 additions and 3 deletions
+3 -3
View File
@@ -209,16 +209,16 @@ namespace monero {
(*tx->block)->txs = txs;
(*tx->block)->height = *aTx->getHeight();
}
//aTx->block->merge(tx->block);
(*aTx->block)->merge(**tx->block);
} else {
//aTx->merge(*tx);
aTx->merge(*tx);
}
return;
}
// merge common block of different txs
if (tx->getHeight() != boost::none && *tx->getHeight() == *aTx->getHeight()) {
//(*aTx-block)->merge(*tx->block);
(*aTx->block)->merge(**tx->block);
//if (aTx.getIsConfirmed()) assertTrue(aTx.getBlock().getTxs().contains(aTx));
}
}