Skip to content

Commit

Permalink
Remove some console.logs added during custom rpc form work
Browse files Browse the repository at this point in the history
  • Loading branch information
danjm committed May 9, 2019
1 parent 5083384 commit 0707b27
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/scripts/controllers/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ class PreferencesController {
*
*/
addToFrequentRpcList (url, chainId, ticker = 'ETH', nickname = '', rpcPrefs = {}) {
console.log('addToFrequentRpcList url, chainId, ticker, nickname, rpcPrefs', url, chainId, ticker, nickname, rpcPrefs)
const rpcList = this.getFrequentRpcListDetail()
const index = rpcList.findIndex((element) => { return element.rpcUrl === url })
if (index !== -1) {
Expand Down
1 change: 0 additions & 1 deletion app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1634,7 +1634,6 @@ module.exports = class MetamaskController extends EventEmitter {
*/

async updateAndSetCustomRpc (rpcUrl, chainId, ticker = 'ETH', nickname, rpcPrefs) {
console.log('updateAndSetCustomRpc rpcUrl, chainId, ticker, nickname, rpcPrefs', rpcUrl, chainId, ticker, nickname, rpcPrefs)
await this.preferencesController.updateRpc({ rpcUrl, chainId, ticker, nickname, rpcPrefs })
this.networkController.setRpcTarget(rpcUrl, chainId, ticker, nickname, rpcPrefs)
return rpcUrl
Expand Down
2 changes: 0 additions & 2 deletions ui/app/pages/settings/networks-tab/networks-tab.container.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,11 @@ const mapDispatchToProps = dispatch => {
return {
setSelectedSettingsRpcUrl: newRpcUrl => dispatch(setSelectedSettingsRpcUrl(newRpcUrl)),
setRpcTarget: (newRpc, chainId, ticker, nickname, rpcPrefs) => {
console.log('setRpcTarget newRpc, chainId, ticker, nickname, rpcPrefs', newRpc, chainId, ticker, nickname, rpcPrefs)
dispatch(updateAndSetCustomRpc(newRpc, chainId, ticker, nickname, rpcPrefs))
},
displayWarning: warning => dispatch(displayWarning(warning)),
setNetworksTabAddMode: isInAddMode => dispatch(setNetworksTabAddMode(isInAddMode)),
editRpc: (oldRpc, newRpc, chainId, ticker, nickname, rpcPrefs) => {
console.log('editRpc oldRpc, newRpc, chainId, ticker, nickname, rpcPrefs', oldRpc, newRpc, chainId, ticker, nickname, rpcPrefs)
dispatch(editRpc(oldRpc, newRpc, chainId, ticker, nickname, rpcPrefs))
},
}
Expand Down

0 comments on commit 0707b27

Please sign in to comment.