Skip to content

Commit

Permalink
Merge pull request #2339 from jamescowens/fix_indent_encryptWallet
Browse files Browse the repository at this point in the history
wallet: Fix improper indent in encryptWallet
  • Loading branch information
jamescowens authored Sep 18, 2021
2 parents 7ac04f5 + c24eb4b commit b8484a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1496,9 +1496,10 @@ void BitcoinGUI::setEncryptionStatus(int status)

void BitcoinGUI::encryptWallet()
{
if(!walletModel)
return;
AskPassphraseDialog dlg(AskPassphraseDialog::Encrypt, this);
if (!walletModel) return;

AskPassphraseDialog dlg(AskPassphraseDialog::Encrypt, this);

dlg.setModel(walletModel);
dlg.exec();

Expand Down

0 comments on commit b8484a0

Please sign in to comment.