Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
fix bad pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Sep 19, 2015
1 parent 09629ae commit 43472a5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ function Sonar (peerSelf, options, swarmSelf) {
throw new Error('Sonar must be instantiated with new')
}

if (!(peerSelf instanceof Peer)) {
throw new Error('First argument must be of the type Peer (ipfs-peer)')
}

// option arguments

self.broadcast = options && options.broadcast ? options.broadcast : true
Expand Down

0 comments on commit 43472a5

Please sign in to comment.