git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f5f1878
)
RPC sendmany must acquire cs_main lock
author
Jeff Garzik
<jeff@garzik.org>
Tue, 5 Apr 2011 19:15:20 +0000 (15:15 -0400)
committer
Jeff Garzik
<jgarzik@pobox.com>
Tue, 5 Apr 2011 19:15:20 +0000 (15:15 -0400)
rpc.cpp
patch
|
blob
|
history
diff --git
a/rpc.cpp
b/rpc.cpp
index
a634fff
..
6041de0
100644
(file)
--- a/
rpc.cpp
+++ b/
rpc.cpp
@@
-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