diff --git a/common/src/main/java/bisq/common/proto/ProtoResolver.java b/common/src/main/java/bisq/common/proto/ProtoResolver.java
index 61244239a11..679c1b3e5a7 100644
--- a/common/src/main/java/bisq/common/proto/ProtoResolver.java
+++ b/common/src/main/java/bisq/common/proto/ProtoResolver.java
@@ -18,11 +18,10 @@
package bisq.common.proto;
import bisq.common.Payload;
-import bisq.common.proto.persistable.PersistableEnvelope;
-
+import bisq.common.proto.persistable.PersistablePayload;
public interface ProtoResolver {
Payload fromProto(protobuf.PaymentAccountPayload proto);
- PersistableEnvelope fromProto(protobuf.PersistableNetworkPayload proto);
+ PersistablePayload fromProto(protobuf.PersistableNetworkPayload proto);
}
diff --git a/common/src/main/java/bisq/common/proto/persistable/PersistableHashMap.java b/common/src/main/java/bisq/common/proto/persistable/PersistableHashMap.java
deleted file mode 100644
index a5f6cbbf328..00000000000
--- a/common/src/main/java/bisq/common/proto/persistable/PersistableHashMap.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * This file is part of Bisq.
- *
- * Bisq is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Affero General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or (at
- * your option) any later version.
- *
- * Bisq is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with Bisq. If not, see .
- */
-
-package bisq.common.proto.persistable;
-
-import com.google.protobuf.Message;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.function.Function;
-
-import lombok.Getter;
-import lombok.Setter;
-import lombok.experimental.Delegate;
-
-public class PersistableHashMap implements PersistableEnvelope {
- @Delegate
- @Getter
- private Map map = new HashMap<>();
- @Setter
- private Function