Figures out what wallet, if any, to use for a JSONRPCRequest.
Declared in <wallet/rpc/util.h>
std::shared_ptr<CWallet>
GetWalletForJSONRPCRequest(JSONRPCRequest const& request);
nullptr if no wallet should be used, or a pointer to the CWallet
| Name | Description |
|---|---|
| request [in] | JSONRPCRequest that wishes to access a wallet |