mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix naming
This commit is contained in:
parent
db48f8984f
commit
026e0e3383
@ -24,7 +24,7 @@ class PreferencesController {
|
||||
return this.store.getState().selectedAddress
|
||||
}
|
||||
|
||||
addToFrequentRPCList (_url) {
|
||||
addToFrequentRpcList (_url) {
|
||||
return new Promise((resolve, reject) => {
|
||||
let rpcList = this.getFrequentRPCList()
|
||||
let index = rpcList.findIndex((element) => { element === _url })
|
||||
@ -40,7 +40,7 @@ class PreferencesController {
|
||||
})
|
||||
}
|
||||
|
||||
getFrequentRPCList () {
|
||||
getFrequentRpcList () {
|
||||
return this.store.getState().frequentRPCList
|
||||
}
|
||||
|
||||
|
@ -259,7 +259,7 @@ module.exports = class MetamaskController extends EventEmitter {
|
||||
|
||||
// PreferencesController
|
||||
setSelectedAddress: nodeify(preferencesController.setSelectedAddress).bind(preferencesController),
|
||||
setFrequentRPCList: nodeify(preferencesController.setFrequentRPCList).bind(preferencesController),
|
||||
addToFrequentRpcList: nodeify(preferencesController.addToFrequentRpcList).bind(preferencesController),
|
||||
|
||||
// KeyringController
|
||||
setLocked: nodeify(keyringController.setLocked).bind(keyringController),
|
||||
|
Loading…
Reference in New Issue
Block a user