From cb23fe01c125e1820f3c37348e06d98c93e6aec2 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 20 Sep 2020 11:38:03 +0300 Subject: [skip ci] sync: Check precondition in LEAVE_CRITICAL_SECTION() macro This change reveals a bug in the wallet_tests/CreateWalletFromFile test, that will be fixed in the following commit. --- src/sync.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/sync.h') diff --git a/src/sync.h b/src/sync.h index 0948083c7f..749bf5575c 100644 --- a/src/sync.h +++ b/src/sync.h @@ -242,10 +242,12 @@ using DebugLock = UniqueLock