[Qt] Fix wallet-lock in PaymentServer::fetchPaymentACK(..) #5390

pull cozz wants to merge 1 commits into bitcoin:master from cozz:cozz5 changing 1 files +1 −1
  1. cozz commented at 6:42 PM on November 28, 2014: contributor

    Probably fixes #5346 I did not test anything, but seems pretty obvious that we are calling wallet->GetAccountAddresses(..) without a lock here.

  2. laanwj commented at 6:03 AM on November 29, 2014: member

    Alternatively, we could change the assertlockheld(cs_wallet) in GetAccountAddresses to LOCK(cs_wallet). Note that SetAddressBook takes care of its own locking already, so it would be more consistent.

  3. [Qt] Fix wallet-lock in CWallet::GetAccountAddresses(..) 43422a0121
  4. cozz force-pushed on Nov 29, 2014
  5. cozz commented at 11:55 AM on November 29, 2014: contributor

    @laanwj ok, updated like you suggested.

  6. laanwj merged this on Dec 1, 2014
  7. laanwj closed this on Dec 1, 2014

  8. laanwj referenced this in commit 89151d9f29 on Dec 1, 2014
  9. IeuanG referenced this in commit 71c6a90c95 on Feb 2, 2015
  10. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me