fix(parity): create password file even when there are no accounts

This commit is contained in:
Jonathan Rainville 2018-12-13 10:07:40 -05:00 committed by Pascal Precht
parent d6de169572
commit 7d2ceaacb1
1 changed files with 0 additions and 3 deletions

View File

@ -257,9 +257,6 @@ class ParityClient {
}); });
}, },
function updatePasswordFile(passwordList, next) { function updatePasswordFile(passwordList, next) {
if (!self.config.account.password) {
return next();
}
fs.writeFile(self.config.account.devPassword, passwordList, next); fs.writeFile(self.config.account.devPassword, passwordList, next);
} }
], (err) => { ], (err) => {