fix pubsub broadcast validation error

This commit is contained in:
2024-10-10 14:50:11 +02:00
parent 817a14704b
commit b19eb8f422

View File

@@ -211,7 +211,7 @@ func CreateVault(ID string, storageHandler *StorageHandler) (*Vault, error) {
ID, //== topicName
func(ctx context.Context, id peer.ID, msg *pubsub.Message) bool {
if id == storageHandler.Host.ID() {
return false
return true
}
Logger.Debugf("PubSubmsg TOPIC: %s, PEER: %s\n", ID, id)