diff options
| author | Gavin Andresen <[email protected]> | 2014-01-23 14:18:26 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-01-24 10:47:29 -0500 |
| commit | fd67424c829b9bb0ed7f4a53040524c560262810 (patch) | |
| tree | 49585a6d81c8bd6fe625d49f8a4eee318a3d6da6 /src/init.cpp | |
| parent | Merge pull request #3571 (diff) | |
| download | discoin-fd67424c829b9bb0ed7f4a53040524c560262810.tar.xz discoin-fd67424c829b9bb0ed7f4a53040524c560262810.zip | |
Unit test fixes for AssertLockHeld / -DDEBUG_LOCKORDER
Unit tests would fail if compiled with -DDEBUG_LOCKORDER (AssertLockHeld()
would fail; AssertLockHeld() relies on the DEBUG_LOCKORDER code to keep
track of locks held).
Fixed by LOCK'ing the wallet mutex in the unit tests that manipulate the
wallet.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions