Skip to content

Commit 09674fc

Browse files
committed
fix: fix eslint errors
1 parent d2eb51a commit 09674fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export interface GossipsubOpts extends GossipsubOptsSpec, PubSubInit {
208208
*
209209
* It should be a number between 0 and 1, with a reasonable default of 0.25
210210
*/
211-
gossipFactor: number;
211+
gossipFactor: number
212212
}
213213

214214
export interface GossipsubMessage {
@@ -2507,7 +2507,7 @@ export class GossipSub extends TypedEventEmitter<GossipsubEvents> implements Pub
25072507

25082508
if (candidateToGossip.size === 0) return
25092509
let target = this.opts.Dlazy
2510-
const gossipFactor = this.opts.gossipFactor;
2510+
const gossipFactor = this.opts.gossipFactor
25112511
const factor = gossipFactor * candidateToGossip.size
25122512
let peersToGossip: Set<PeerIdStr> | PeerIdStr[] = candidateToGossip
25132513
if (factor > target) {

0 commit comments

Comments
 (0)