fix: missing changes from bitcoin#19250

This commit is contained in:
Konstantin Akimov 2024-07-12 13:38:09 +07:00
parent 68c5da41dc
commit a7e538d7ae
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -110,7 +110,7 @@ std::shared_ptr<CWallet> GetWalletForJSONRPCRequest(const JSONRPCRequest& reques
}
std::vector<std::shared_ptr<CWallet>> wallets = GetWallets();
if (wallets.size() == 1 || (request.fHelp && wallets.size() > 0)) {
if (wallets.size() == 1) {
return wallets[0];
}