From 2284ccbd13f145e913e2a77ba5ddd04d995bce14 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Tue, 18 Nov 2014 08:46:03 +0100 Subject: [PATCH] [Qt] remove dup lock that is done in SetAddressBook() --- src/qt/paymentserver.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index c65c980705..95f7937552 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -628,7 +628,6 @@ void PaymentServer::fetchPaymentACK(CWallet* wallet, SendCoinsRecipient recipien else { CPubKey newKey; if (wallet->GetKeyFromPool(newKey)) { - LOCK(wallet->cs_wallet); // SetAddressBook CKeyID keyID = newKey.GetID(); wallet->SetAddressBook(keyID, strAccount, "refund");