Browse Source

RPC sendmany must acquire cs_main lock

0.8
Jeff Garzik 14 years ago committed by Jeff Garzik
parent
commit
6f074b71bb
  1. 1
      rpc.cpp

1
rpc.cpp

@ -822,6 +822,7 @@ Value sendmany(const Array& params, bool fHelp) @@ -822,6 +822,7 @@ Value sendmany(const Array& params, bool fHelp)
vecSend.push_back(make_pair(scriptPubKey, nAmount));
}
CRITICAL_BLOCK(cs_main)
CRITICAL_BLOCK(cs_mapWallet)
{
// Check funds

Loading…
Cancel
Save