Skip to content

Commit c1a9731

Browse files
cootJimbo4350
authored andcommitted
peer-sharing: default value only decided based on protocol files
1 parent e499a04 commit c1a9731

File tree

1 file changed

+1
-2
lines changed
  • cardano-node/src/Cardano/Node/Configuration

1 file changed

+1
-2
lines changed

cardano-node/src/Cardano/Node/Configuration/POM.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,7 @@ makeNodeConfiguration pnc = do
816816
let ncPeerSharing =
817817
case pncPeerSharing pnc of
818818
Last Nothing ->
819-
if not startAsNonProducingNode
820-
|| hasProtocolFile protocolFiles
819+
if hasProtocolFile protocolFiles
821820
then PeerSharingDisabled
822821
else PeerSharingEnabled
823822
Last (Just peerSharing) -> peerSharing

0 commit comments

Comments
 (0)