Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobheun committed Jul 8, 2019
1 parent 919e918 commit 8d7a9b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ class PubsubBaseProtocol extends EventEmitter {
* Validates the given message. The signature will be checked for authenticity.
* @param {rpc.RPC.Message} message
* @param {function(Error, Boolean)} callback
* @returns {void}
*/
validate (message, callback) {
// If strict signing is on and we have no signature, abort
Expand Down
4 changes: 1 addition & 3 deletions test/pubsub.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ const expect = chai.expect
const series = require('async/series')
const parallel = require('async/parallel')

const { Message } = require('../src/message')
const { SignPrefix } = require('../src/message/sign')
const PubsubBaseProtocol = require('../src')
const { randomSeqno, normalizeOutRpcMessage } = require('../src/utils')
const { randomSeqno } = require('../src/utils')
const utils = require('./utils')
const createNode = utils.createNode

Expand Down

0 comments on commit 8d7a9b4

Please sign in to comment.