Skip to content

Commit

Permalink
Comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jun 14, 2024
1 parent ed3e0a2 commit 08825f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/bitcoin/database/impl/query/archive.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ typename CLASS::transaction::cptr CLASS::get_transaction(
tx.locktime
);

// Witness hash is not retained by the store.
ptr->set_nominal_hash(std::move(tx.key));
return ptr;
}
Expand Down Expand Up @@ -798,7 +799,7 @@ code CLASS::set_code(tx_link& out_fk, const transaction& tx) NOEXCEPT
return error::tx_spend_set;
}

// Acumulate spends (input references) in order.
// Accumulate spends (input references) in order.
puts.spend_fks.push_back(spend_fk.value++);
}

Expand All @@ -817,7 +818,7 @@ code CLASS::set_code(tx_link& out_fk, const transaction& tx) NOEXCEPT
return error::tx_output_put;
}

// Acumulate outputs in order.
// Accumulate outputs in order.
puts.out_fks.push_back(output_fk);
}

Expand Down

0 comments on commit 08825f2

Please sign in to comment.