mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Wallet: Replace pwalletMain with a vector of wallet pointers
This commit is contained in:
@@ -33,7 +33,8 @@
|
||||
|
||||
CWallet *GetWalletForJSONRPCRequest(const JSONRPCRequest& request)
|
||||
{
|
||||
return pwalletMain;
|
||||
// TODO: Some way to access secondary wallets
|
||||
return vpwallets.empty() ? nullptr : vpwallets[0];
|
||||
}
|
||||
|
||||
std::string HelpRequiringPassphrase(CWallet * const pwallet)
|
||||
|
||||
Reference in New Issue
Block a user