Skip to content

Commit 71de24b

Browse files
[BSIP40] Replace > with <
See https://github.com/bitshares/bitshares-core/pull/ 2093#discussion_r400317820
1 parent 738ac6f commit 71de24b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/protocol/custom_authorities/restriction_predicate.hxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ struct predicate_compare<Field, Argument, std::enable_if_t<std::is_same<Field, A
200200
// Simple comparison, same types
201201
constexpr static bool valid = true;
202202
constexpr int8_t operator()(const Field& f, const Argument& a) const {
203-
return f<a? -1 : (f>a? 1 : 0);
203+
return f<a? -1 : (a<f? 1 : 0);
204204
}
205205
};
206206
template<typename Field, typename Argument>

0 commit comments

Comments
 (0)