Browse Source

[Qt] remove dup lock that is done in SetAddressBook()

pull/145/head
Philip Kaufmann 10 years ago
parent
commit
2284ccbd13
  1. 1
      src/qt/paymentserver.cpp

1
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");

Loading…
Cancel
Save