diff options
| author | Jeff Garzik <[email protected]> | 2011-04-05 15:15:20 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2011-04-05 15:15:20 -0400 |
| commit | 6f074b71bb4c21e0a3ce059a64be1e9383538413 (patch) | |
| tree | e8211e7e9dd41c7b7cf729783d338909caee0b2a /rpc.cpp | |
| parent | Fix deadlocks in setaccount, sendfrom RPC calls (diff) | |
| download | discoin-6f074b71bb4c21e0a3ce059a64be1e9383538413.tar.xz discoin-6f074b71bb4c21e0a3ce059a64be1e9383538413.zip | |
RPC sendmany must acquire cs_main lock
Diffstat (limited to 'rpc.cpp')
| -rw-r--r-- | rpc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |