Skip to content

Commit 509b66b

Browse files
committed
Style.
1 parent 8586258 commit 509b66b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,23 +341,23 @@ outpoint CLASS::get_spent(const output_link& link) const NOEXCEPT
341341
TEMPLATE
342342
inpoint 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

355355
TEMPLATE
356356
inpoints 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;

0 commit comments

Comments
 (0)