mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Use verifyPassword instead of submitPassword in exportAccounts in actions.js (#11265)
This commit is contained in:
parent
ad7e64ad91
commit
003b6365c0
@ -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…
Reference in New Issue
Block a user