We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9894f47 commit fd3c1ebCopy full SHA for fd3c1eb
src/wallet/interfaces.cpp
@@ -565,15 +565,7 @@ class WalletImpl : public Wallet
565
}
566
567
568
- SecureString ssMnemonic;
569
- SecureString ssMnemonicPassphrase;
570
- if (!hdChainCurrent.GetMnemonic(ssMnemonic, ssMnemonicPassphrase)) {
571
- return false;
572
- }
573
-
574
- mnemonic_out = ssMnemonic;
575
- mnemonic_passphrase_out = ssMnemonicPassphrase;
576
- return true;
+ return hdChainCurrent.GetMnemonic(mnemonic_out, mnemonic_passphrase_out);
577
578
579
std::unique_ptr<Handler> handleUnload(UnloadFn fn) override
0 commit comments