File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -681,7 +681,7 @@ RPCHelpMan dumpprivkey()
681
681
},
682
682
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
683
683
{
684
- std::shared_ptr<CWallet> const pwallet = GetWalletForJSONRPCRequest (request);
684
+ const std::shared_ptr<const CWallet> pwallet = GetWalletForJSONRPCRequest (request);
685
685
if (!pwallet) return NullUniValue;
686
686
687
687
const LegacyScriptPubKeyMan& spk_man = EnsureConstLegacyScriptPubKeyMan (*pwallet);
@@ -731,10 +731,10 @@ RPCHelpMan dumpwallet()
731
731
},
732
732
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
733
733
{
734
- std::shared_ptr<CWallet> const pwallet = GetWalletForJSONRPCRequest (request);
734
+ const std::shared_ptr<const CWallet> pwallet = GetWalletForJSONRPCRequest (request);
735
735
if (!pwallet) return NullUniValue;
736
736
737
- CWallet& wallet = *pwallet;
737
+ const CWallet& wallet = *pwallet;
738
738
const LegacyScriptPubKeyMan& spk_man = EnsureConstLegacyScriptPubKeyMan (wallet);
739
739
740
740
// Make sure the results are valid at least up to the most recent block
You can’t perform that action at this time.
0 commit comments