bitcoin/bitcoin — pull request #4800 by cozz (2014-08-31 16:50:33+00:00)
Title: [Wallet] Call SetBestChain before and after rescan

This ensures to redo rescan, in case of an incomplete rescan.