File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
include/bitcoin/database/impl/query Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -341,23 +341,23 @@ outpoint CLASS::get_spent(const output_link& link) const NOEXCEPT
341341TEMPLATE
342342inpoint CLASS::get_spender (const point_link& link) const NOEXCEPT
343343{
344- const auto tx = to_spending_tx (link);
345- if (tx .is_terminal ())
344+ const auto tx_fk = to_spending_tx (link);
345+ if (tx_fk .is_terminal ())
346346 return {};
347347
348- const auto index = to_input_index (tx , link);
348+ const auto index = to_input_index (tx_fk , link);
349349 if (index == point::null_index)
350350 return {};
351351
352- return { get_tx_key (tx ), index };
352+ return { get_tx_key (tx_fk ), index };
353353}
354354
355355TEMPLATE
356356inpoints CLASS::get_spenders (const point& point) const NOEXCEPT
357357{
358358 inpoints ins{};
359- for (const auto & link : to_spenders (point))
360- ins.insert (get_spender (link ));
359+ for (const auto & point_fk : to_spenders (point))
360+ ins.insert (get_spender (point_fk ));
361361
362362 // std::set (lexically sorted/deduped).
363363 return ins;
You can’t perform that action at this time.
0 commit comments