From 3587c61e9a64f95645052e3e716b5d26b41b49e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 30 Jul 2024 02:30:20 +0900 Subject: [PATCH] capabilities: Set up a dummy registry if peering is disabled --- core/capabilities/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/capabilities/registry.go b/core/capabilities/registry.go index 47285505805..3e74d985bee 100644 --- a/core/capabilities/registry.go +++ b/core/capabilities/registry.go @@ -213,7 +213,7 @@ func (t *TestMetadataRegistry) LocalNode(ctx context.Context) (capabilities.Node Members: []p2ptypes.PeerID{ peerID, }, - F: 0, + F: 1, IsPublic: false, AcceptsWorkflows: true, }