Skip to content

Commit

Permalink
[network] ensure signerIDs are populated in pubSub tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Aug 12, 2021
1 parent 64aed7a commit 51cca1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions network/test/testUtil.go
Expand Up @@ -247,9 +247,9 @@ func generateLibP2PNode(t *testing.T,

// create PubSub options for libp2p to use
psOptions := []pubsub.Option{
// skip message signing
pubsub.WithMessageSigning(false),
// skip message signature
// with message signing
pubsub.WithMessageSigning(true),
// with no message signature verification
pubsub.WithStrictSignatureVerification(false),
// set max message size limit for 1-k PubSub messaging
pubsub.WithMaxMessageSize(p2p.DefaultMaxPubSubMsgSize),
Expand Down

0 comments on commit 51cca1a

Please sign in to comment.