mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add equals check to prevent resetting of newly set Filter
This commit is contained in:
parent
1c9299a2e5
commit
e50c7a6132
@ -17,7 +17,6 @@
|
||||
|
||||
package bisq.core.filter;
|
||||
|
||||
import bisq.core.account.witness.AccountAgeWitness;
|
||||
import bisq.core.btc.nodes.BtcNodes;
|
||||
import bisq.core.payment.payload.PaymentAccountPayload;
|
||||
import bisq.core.payment.payload.PaymentMethod;
|
||||
@ -153,7 +152,7 @@ public class FilterManager {
|
||||
protectedStorageEntries.forEach(protectedStorageEntry -> {
|
||||
if (protectedStorageEntry.getProtectedStoragePayload() instanceof Filter) {
|
||||
Filter filter = (Filter) protectedStorageEntry.getProtectedStoragePayload();
|
||||
if (verifySignature(filter))
|
||||
if (verifySignature(filter) && getFilter().equals(filter))
|
||||
resetFilters();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user