Browse Source

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

0.10
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 { else {
CPubKey newKey; CPubKey newKey;
if (wallet->GetKeyFromPool(newKey)) { if (wallet->GetKeyFromPool(newKey)) {
LOCK(wallet->cs_wallet); // SetAddressBook
CKeyID keyID = newKey.GetID(); CKeyID keyID = newKey.GetID();
wallet->SetAddressBook(keyID, strAccount, "refund"); wallet->SetAddressBook(keyID, strAccount, "refund");

Loading…
Cancel
Save