File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
include/bitcoin/database/impl/query Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -307,30 +307,6 @@ typename CLASS::output::cptr CLASS::get_output(
307307TEMPLATE
308308typename CLASS::point CLASS::get_spent (const output_link& link) const NOEXCEPT
309309{
310- // //const auto tx = to_output_tx(link);
311- // //const auto hash = get_tx_key(tx);
312- // //const auto index = to_output_index(tx, link);
313- // //if (tx.is_terminal())
314- // //{
315- // // return { {}, 42 };
316- // //}
317- // //else if (hash == system::null_hash && index == point::null_index)
318- // //{
319- // // return { {}, 96 };
320- // //}
321- // //else if (hash == system::null_hash && index != point::null_index)
322- // //{
323- // // return { {}, index };
324- // //}
325- // //else if (hash != system::null_hash && index == point::null_index)
326- // //{
327- // // return { hash, 69 };
328- // //}
329- // //else // if (hash != system::null_hash && index != point::null_index)
330- // //{
331- // // return { hash, index };
332- // //}
333-
334310 if (const auto tx = to_output_tx (link); !tx.is_terminal ())
335311 if (const auto index = to_output_index (tx, link);
336312 index != point::null_index)
You can’t perform that action at this time.
0 commit comments