MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / unlockWallet

Method unlockWallet

src/qt/walletview.cpp:278–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void WalletView::unlockWallet()
279{
280 if(!walletModel)
281 return;
282 // Unlock wallet when requested by wallet model
283 if (walletModel->getEncryptionStatus() == WalletModel::Locked)
284 {
285 AskPassphraseDialog dlg(AskPassphraseDialog::Unlock, this);
286 dlg.setModel(walletModel);
287 dlg.exec();
288 }
289}
290
291void WalletView::usedSendingAddresses()
292{

Callers

nothing calls this directly

Calls 3

getEncryptionStatusMethod · 0.80
execMethod · 0.80
setModelMethod · 0.45

Tested by

no test coverage detected