Skip to content

Commit 27dc7ae

Browse files
committed
Comments.
1 parent 2d67f1f commit 27dc7ae

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

include/bitcoin/database/impl/query/objects.ipp

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -307,30 +307,6 @@ typename CLASS::output::cptr CLASS::get_output(
307307
TEMPLATE
308308
typename 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)

0 commit comments

Comments
 (0)