mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-24 19:02:42 +02:00
RPC sendmany must acquire cs_main lock
This commit is contained in:
parent
f5f1878ba1
commit
6f074b71bb
1
rpc.cpp
1
rpc.cpp
@ -822,6 +822,7 @@ Value sendmany(const Array& params, bool fHelp)
|
|||||||
vecSend.push_back(make_pair(scriptPubKey, nAmount));
|
vecSend.push_back(make_pair(scriptPubKey, nAmount));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CRITICAL_BLOCK(cs_main)
|
||||||
CRITICAL_BLOCK(cs_mapWallet)
|
CRITICAL_BLOCK(cs_mapWallet)
|
||||||
{
|
{
|
||||||
// Check funds
|
// Check funds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user