fix bug in pcode's SequenceNumber.java

This commit is contained in:
h1k0n 2024-04-12 00:31:22 +08:00
parent 8ee5734927
commit daf1f28264

View File

@ -119,10 +119,10 @@ public class SequenceNumber implements Comparable<SequenceNumber> {
if (val != 0) {
return val;
}
if (uniq < sq.uniq) {
if (order < sq.order) {
return -1;
}
if (sq.uniq < uniq) {
if (sq.order < order) {
return 1;
}
return 0;