bitcoin/bitcoin — pull request #4371 by rat4 (2014-06-20 12:59:21+00:00)
Title: AvailableCoins: acquire cs_main mutex

It's required when called from WalletModel