mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Remove filter for ExpirablePayload
ProtectedStorageEntry::backDate() already handles this
This commit is contained in:
parent
b166009398
commit
7b8d346aea
1 changed files with 0 additions and 1 deletions
|
@ -450,7 +450,6 @@ public class P2PDataStorage implements MessageListener, ConnectionListener, Pers
|
||||||
|
|
||||||
// Backdate all the eligible payloads based on the node that disconnected
|
// Backdate all the eligible payloads based on the node that disconnected
|
||||||
map.values().stream()
|
map.values().stream()
|
||||||
.filter(protectedStorageEntry -> protectedStorageEntry.getProtectedStoragePayload() instanceof ExpirablePayload)
|
|
||||||
.filter(protectedStorageEntry -> protectedStorageEntry.getProtectedStoragePayload() instanceof RequiresOwnerIsOnlinePayload)
|
.filter(protectedStorageEntry -> protectedStorageEntry.getProtectedStoragePayload() instanceof RequiresOwnerIsOnlinePayload)
|
||||||
.filter(protectedStorageEntry -> ((RequiresOwnerIsOnlinePayload) protectedStorageEntry.getProtectedStoragePayload()).getOwnerNodeAddress().equals(peersNodeAddress))
|
.filter(protectedStorageEntry -> ((RequiresOwnerIsOnlinePayload) protectedStorageEntry.getProtectedStoragePayload()).getOwnerNodeAddress().equals(peersNodeAddress))
|
||||||
.forEach(protectedStorageEntry -> {
|
.forEach(protectedStorageEntry -> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue