diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-02-20 21:02:47 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-02-20 21:04:23 +0200 |
commit | 7f3a6a9495fafbf77f221297615fa56dc3ecc64a (patch) | |
tree | a42860bbdcdbd8fe6a97bf5273caabae0ea1f3e1 /src/wallet/wallet.cpp | |
parent | 5f44c5c428b696af4214b2519cb2bbeb0e4a1027 (diff) | |
download | bitcoin-7f3a6a9495fafbf77f221297615fa56dc3ecc64a.tar.xz |
wallet: Add external-signer-support specific error message
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 7e694d1987..11379e1cd2 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2692,6 +2692,10 @@ std::shared_ptr<CWallet> CWallet::Create(WalletContext& context, const std::stri error = strprintf(_("Error loading %s: Wallet requires newer version of %s"), walletFile, PACKAGE_NAME); return nullptr; } + else if (nLoadWalletRet == DBErrors::EXTERNAL_SIGNER_SUPPORT_REQUIRED) { + error = strprintf(_("Error loading %s: External signer wallet being loaded without external signer support compiled"), walletFile); + return nullptr; + } else if (nLoadWalletRet == DBErrors::NEED_REWRITE) { error = strprintf(_("Wallet needed to be rewritten: restart %s to complete"), PACKAGE_NAME); |