Skip to content

Commit

Permalink
dont throw on output and key images failure to insert
Browse files Browse the repository at this point in the history
  • Loading branch information
moneroexamples committed Jul 18, 2019
1 parent bfc2498 commit 1e6c13f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/TxSearch.cpp
Expand Up @@ -396,8 +396,9 @@ for (auto const& tx_tuple: txs_data)
<< " in tx " << tx_hash_str << " in blk " << blk_height
<< ' ' << outputs_found;

throw TxSearchException("insert output_found: "
"no_rows_inserted is zero!");
continue;
//throw TxSearchException("insert output_found: "
// "no_rows_inserted is zero!");
}

} // if (!found_mine_outputs.empty())
Expand Down Expand Up @@ -586,8 +587,9 @@ for (auto const& tx_tuple: txs_data)
<< " in tx " << tx_hash_str << " in blk " << blk_height
<< ' ' << inputs_found;

throw TxSearchException(
"insert inputs_found: no_rows_inserted is zero!");
continue;
//throw TxSearchException(
//"insert inputs_found: no_rows_inserted is zero!");
}

} // if (!inputs_found.empty())
Expand Down

0 comments on commit 1e6c13f

Please sign in to comment.