cormorant: fix wallet loading with multiple ancestors in the mempool

This commit is contained in:
Craig Raw 2024-02-28 13:13:32 +02:00
parent 0ed8c6af7c
commit ae29108656

View file

@ -49,7 +49,7 @@ public class TxEntry implements Comparable<TxEntry> {
return height - o.height; return height - o.height;
} }
if(height == 0) { if(height <= 0) {
return tx_hash.compareTo(o.tx_hash); return tx_hash.compareTo(o.tx_hash);
} }