We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77c20c2 commit 6899097Copy full SHA for 6899097
1 file changed
include/bitcoin/system/chain/point.hpp
@@ -134,8 +134,9 @@ struct hash<bc::system::chain::point>
134
{
135
size_t operator()(const bc::system::chain::point& value) const NOEXCEPT
136
137
- return bc::system::hash_combine(value.index(),
138
- bc::system::unique_hash(value.hash()));
+ // Right should always be the lower entropy value (i.e. point index).
+ return bc::system::hash_combine(bc::system::unique_hash(value.hash()),
139
+ value.index());
140
}
141
};
142
0 commit comments