Merge branch '0.4.x' into 0.5.x
[novacoin.git] / contrib / wallettools / walletchangepass.py
1 from jsonrpc import ServiceProxy
2 access = ServiceProxy("http://127.0.0.1:8332")
3 pwd = raw_input("Enter old wallet passphrase: ")
4 pwd2 = raw_input("Enter new wallet passphrase: ")
5 access.walletpassphrasechange(pwd, pwd2)