diff options
author | fanquake <fanquake@gmail.com> | 2021-03-04 23:20:13 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-03-05 09:20:13 +0800 |
commit | 7c90c67b7e6f598f9ffdc136ded2b533b78ed044 (patch) | |
tree | aa1aa54359dc87b462685691a21d488476ce0ce1 /src/wallet/rpcwallet.h | |
parent | 48669340080feaff86b8fc0403ef22c820477697 (diff) | |
download | bitcoin-7c90c67b7e6f598f9ffdc136ded2b533b78ed044.tar.xz |
rpc: refactor rpc wallet functions to take references instead of pointers
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
Diffstat (limited to 'src/wallet/rpcwallet.h')
-rw-r--r-- | src/wallet/rpcwallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.h b/src/wallet/rpcwallet.h index 184a16e91d..b82fe1ec76 100644 --- a/src/wallet/rpcwallet.h +++ b/src/wallet/rpcwallet.h @@ -30,7 +30,7 @@ Span<const CRPCCommand> GetWalletRPCCommands(); */ std::shared_ptr<CWallet> GetWalletForJSONRPCRequest(const JSONRPCRequest& request); -void EnsureWalletIsUnlocked(const CWallet*); +void EnsureWalletIsUnlocked(const CWallet&); WalletContext& EnsureWalletContext(const util::Ref& context); LegacyScriptPubKeyMan& EnsureLegacyScriptPubKeyMan(CWallet& wallet, bool also_create = false); |