Fix generating encrypted wallet from command line
Merge pull request #539 from xHire/master

Fix generating encrypted wallet from command line