fix missing }
add an export un encrypted view of wallet, and forgot double password on successful operation