Skip to content

Commit

Permalink
More comment fixups
Browse files Browse the repository at this point in the history
Fixed a command again in TXO_Compact.h
  • Loading branch information
cculianu committed Aug 12, 2020
1 parent a08696e commit 8f50d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TXO_Compact.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ template<> struct hash<CompactTXO> {
size_t operator()(const CompactTXO &ctxo) const noexcept {
const auto val1 = ctxo.txNum();
const auto val2 = ctxo.N();
// We must copy the hash bytes and the ionum to a temporary buffer and hash that.
// We must copy the txNum and the ionum to a temporary buffer and hash that.
// Previously, we put these two items in a struct but it didn't have a unique
// objected repr and that led to bugs. See Fulcrum issue #47 on GitHub.
std::array<std::byte, sizeof(val1) + sizeof(val2)> buf;
Expand Down

0 comments on commit 8f50d71

Please sign in to comment.