Skip to content

Commit 60debf5

Browse files
authored
Merge pull request #591 from evoskuil/master
Disable previous possible double spender collection in set_prevouts.
2 parents daf5792 + ed8ed72 commit 60debf5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ code CLASS::set_prevouts(const header_link& link, const block& block) NOEXCEPT
472472
{
473473
code ec{};
474474
tx_links spenders{};
475-
if ((ec = get_double_spenders(spenders, block)))
476-
return ec;
475+
////if ((ec = get_double_spenders(spenders, block)))
476+
//// return ec;
477477

478478
// ========================================================================
479479
const auto scope = store_.get_transactor();

include/bitcoin/database/tables/schema.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ struct transaction
9494
sizeof(uint32_t) +
9595
schema::index + // inputs count
9696
schema::index + // outputs count
97-
schema::ins_ + // first contiguous input (point)
97+
schema::ins_ + // first contiguous input (point)
9898
schema::outs_; // first contiguous output (put)
9999
static constexpr size_t minrow = pk + sk + minsize;
100100
static constexpr size_t size = minsize;

0 commit comments

Comments
 (0)