1
0
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:
Niranjana Binoy 2021-02-24 15:39:56 -05:00 committed by GitHub
parent a17529c22c
commit 465dcb5e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();