Wrong Currency Symbol when using Custom Network (#10490)

feature/default_network_editable
Niranjana Binoy 4 years ago committed by GitHub
parent a17529c22c
commit 465dcb5e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/scripts/metamask-controller.js

@ -335,10 +335,8 @@ export default class MetamaskController extends EventEmitter {
}, },
); );
}); });
const { ticker } = this.networkController.getProviderConfig(); const { ticker } = this.networkController.getProviderConfig();
this.currencyRateController.update({ nativeCurrency: ticker ?? 'ETH' }); this.currencyRateController.configure({ nativeCurrency: ticker ?? 'ETH' });
this.networkController.lookupNetwork(); this.networkController.lookupNetwork();
this.messageManager = new MessageManager(); this.messageManager = new MessageManager();
this.personalMessageManager = new PersonalMessageManager(); this.personalMessageManager = new PersonalMessageManager();

Loading…
Cancel
Save