Port upstream rpc deadlock fix #77
This commit is contained in:
@@ -827,6 +827,7 @@ protected:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
LOCK(cs_wallet);
|
||||||
for (std::pair<const uint256, CWalletTx>& wtxItem : mapWallet) {
|
for (std::pair<const uint256, CWalletTx>& wtxItem : mapWallet) {
|
||||||
auto wtx = wtxItem.second;
|
auto wtx = wtxItem.second;
|
||||||
// We skip transactions for which mapSaplingNoteData
|
// We skip transactions for which mapSaplingNoteData
|
||||||
|
|||||||
Reference in New Issue
Block a user