mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
tests: Add missing locking annotations and locks
This commit is contained in:
parent
07033a8f91
commit
b602c9b3af
2 changed files with 5 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ struct COrphanTx {
|
|||
NodeId fromPeer;
|
||||
int64_t nTimeExpire;
|
||||
};
|
||||
static CCriticalSection g_cs_orphans;
|
||||
CCriticalSection g_cs_orphans;
|
||||
std::map<uint256, COrphanTx> mapOrphanTransactions GUARDED_BY(g_cs_orphans);
|
||||
|
||||
void EraseOrphansFor(NodeId peer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue