mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Wrong Currency Symbol when using Custom Network (#10490)
This commit is contained in:
parent
a17529c22c
commit
465dcb5e91
@ -335,10 +335,8 @@ export default class MetamaskController extends EventEmitter {
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
const { ticker } = this.networkController.getProviderConfig();
|
||||
this.currencyRateController.update({ nativeCurrency: ticker ?? 'ETH' });
|
||||
|
||||
this.currencyRateController.configure({ nativeCurrency: ticker ?? 'ETH' });
|
||||
this.networkController.lookupNetwork();
|
||||
this.messageManager = new MessageManager();
|
||||
this.personalMessageManager = new PersonalMessageManager();
|
||||
|
Loading…
Reference in New Issue
Block a user