Skip to content

Commit 2de4753

Browse files
committed
THIS BETTER BE THE LAST LOCKANNOTAION 16034
1 parent ee28ba8 commit 2de4753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/walletdb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ DBErrors WalletBatch::LoadWallet(CWallet* pwallet)
502502
DBErrors result = DBErrors::LOAD_OK;
503503

504504
auto locked_chain = pwallet->chain().lock();
505-
LockAnnotation lock(::cs_main);
505+
LockAssertion lock(::cs_main);
506506
LOCK(pwallet->cs_wallet);
507507
try {
508508
int nMinVersion = 0;

0 commit comments

Comments
 (0)