mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
Remove cs_main from verifymessage
This commit is contained in:
parent
9446de160f
commit
fa9425177e
1 changed files with 1 additions and 5 deletions
|
@ -14,12 +14,12 @@
|
|||
#include <key_io.h>
|
||||
#include <node/context.h>
|
||||
#include <outputtype.h>
|
||||
#include <rpc/blockchain.h>
|
||||
#include <rpc/server.h>
|
||||
#include <rpc/server_util.h>
|
||||
#include <rpc/util.h>
|
||||
#include <scheduler.h>
|
||||
#include <script/descriptor.h>
|
||||
#include <univalue.h>
|
||||
#include <util/check.h>
|
||||
#include <util/message.h> // For MessageSign(), MessageVerify()
|
||||
#include <util/strencodings.h>
|
||||
|
@ -33,8 +33,6 @@
|
|||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#include <univalue.h>
|
||||
|
||||
using node::NodeContext;
|
||||
|
||||
static RPCHelpMan validateaddress()
|
||||
|
@ -335,8 +333,6 @@ static RPCHelpMan verifymessage()
|
|||
},
|
||||
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
|
||||
{
|
||||
LOCK(cs_main);
|
||||
|
||||
std::string strAddress = request.params[0].get_str();
|
||||
std::string strSign = request.params[1].get_str();
|
||||
std::string strMessage = request.params[2].get_str();
|
||||
|
|
Loading…
Add table
Reference in a new issue