mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-18 23:58:59 +02:00
returning from block.merge()
This commit is contained in:
@@ -138,7 +138,7 @@ namespace monero {
|
||||
for (const shared_ptr<MoneroTx>& thatTx : block.txs) {
|
||||
bool found = false;
|
||||
for (const shared_ptr<MoneroTx>& thisTx : txs) {
|
||||
if (thatTx->id == thatTx->id) {
|
||||
if (thatTx->id == thisTx->id) {
|
||||
thisTx->merge(*thatTx);
|
||||
found = true;
|
||||
break;
|
||||
@@ -156,7 +156,7 @@ namespace monero {
|
||||
// merge other fields
|
||||
hex = MoneroUtils::reconcile(hex, block.hex);
|
||||
//txIds = MoneroUtils::reconcile(txIds, block.txIds); // TODO: implement
|
||||
throw runtime_error("ready to reconcile txIds");
|
||||
cout << "Returning from block::merge()!" << endl;
|
||||
}
|
||||
|
||||
void MoneroTx::merge(const MoneroTx& tx) {
|
||||
|
||||
Reference in New Issue
Block a user