Use verifyPassword instead of submitPassword in exportAccounts in actions.js (#11265)

feature/default_network_editable
Dan J Miller 4 years ago committed by GitHub
parent ad7e64ad91
commit 003b6365c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/store/actions.js

@ -1895,9 +1895,9 @@ export function exportAccount(password, address) {
export function exportAccounts(password, addresses) {
return function (dispatch) {
log.debug(`background.submitPassword`);
log.debug(`background.verifyPassword`);
return new Promise((resolve, reject) => {
background.submitPassword(password, function (err) {
background.verifyPassword(password, function (err) {
if (err) {
log.error('Error in submitting password.');
reject(err);

Loading…
Cancel
Save