Skip to content

Commit 03308b2

Browse files
committed
rpc: don't require wallet for enumeratesigners
1 parent e828fc8 commit 03308b2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/wallet/rpcsigner.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ static RPCHelpMan enumeratesigners()
3232
},
3333
RPCExamples{""},
3434
[](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue {
35-
std::shared_ptr<CWallet> const wallet = GetWalletForJSONRPCRequest(request);
36-
if (!wallet) return NullUniValue;
37-
3835
const std::string command = gArgs.GetArg("-signer", "");
3936
if (command == "") throw JSONRPCError(RPC_WALLET_ERROR, "Error: restart bitcoind with -signer=<cmd>");
4037
std::string chain = gArgs.GetChainName();

0 commit comments

Comments
 (0)