aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-11-18 08:46:03 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-12-08 16:08:59 +0100
commit2284ccbd13f145e913e2a77ba5ddd04d995bce14 (patch)
tree3c7a60f8b99d7e3f5e19ef8f5db6d4e102af2e93
parent1ec753f7340677ac4fbef53fbdc73feff344719d (diff)
[Qt] remove dup lock that is done in SetAddressBook()
-rw-r--r--src/qt/paymentserver.cpp1
1 files changed, 0 insertions, 1 deletions
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");