mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
fix: missing changes from bitcoin#19250
This commit is contained in:
parent
68c5da41dc
commit
a7e538d7ae
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user