Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Feb 6, 2020
1 parent 3e7f694 commit 228ff2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function MetamaskInpageProvider (connectionStream, shouldSendMetadata = true) {
this._sendAsync(
{ method: 'eth_accounts', params: [] },
() => {},
true // indicating that eth_accounts _should_ update accounts
true, // indicating that eth_accounts _should_ update accounts
)
} catch (_) {}
}
Expand Down Expand Up @@ -365,7 +365,7 @@ MetamaskInpageProvider.prototype._sendSync = function (payload) {
/**
* Internal RPC method. Forwards requests to background via the RPC engine.
* Also remap ids inbound and outbound.
*
*
* @param {Object} payload - The RPC request object.
* @param {Function} userCallback - The caller's callback.
* @param {boolean} isInternal - Whether the request is internal.
Expand All @@ -390,7 +390,7 @@ MetamaskInpageProvider.prototype._sendAsync = function (payload, userCallback, i
this._handleAccountsChanged(
res.result || [],
payload.method === 'eth_accounts',
isInternal
isInternal,
)
userCallback(err, res)
}
Expand Down
2 changes: 1 addition & 1 deletion src/siteMetadata.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

const { errors } = require ('./messages')
const { errors } = require('./messages')

module.exports = {
sendSiteMetadata,
Expand Down

0 comments on commit 228ff2a

Please sign in to comment.