fix pubsub broadcast validation error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user