MCPcopy Create free account
hub / github.com/ElementsProject/elements / changePassphrase

Method changePassphrase

src/qt/walletmodel.cpp:386–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384}
385
386bool WalletModel::changePassphrase(const SecureString &oldPass, const SecureString &newPass)
387{
388 m_wallet->lock(); // Make sure wallet is locked before attempting pass change
389 return m_wallet->changeWalletPassphrase(oldPass, newPass);
390}
391
392// Handlers for core signals
393static void NotifyUnload(WalletModel* walletModel)

Callers

nothing calls this directly

Calls 2

lockMethod · 0.80

Tested by

no test coverage detected