Improved rpc-engine usage

feature/default_network_editable
Dan Finlay 7 years ago
parent d26ce807fb
commit 0481335dda
  1. 6
      app/scripts/controllers/preferences.js

@ -83,11 +83,7 @@ class PreferencesController {
this.addSuggestedToken(tokenOpts) this.addSuggestedToken(tokenOpts)
this.showAddTokenUi() this.showAddTokenUi()
return end(null, { return end(rawAddress)
result: rawAddress,
"jsonrpc": "2.0",
id: req.id,
})
} else { } else {
return next() return next()
} }

Loading…
Cancel
Save