bitcoinj/bitcoinj — pull request #121 by oscarguindzberg (2014-06-25 14:52:16+00:00)
Title: PeerGroup. startBlockChainDownload() - listener bugfix

There was this bug: If downloadPeer != null, the old downloadListener is removed as a listener, but the new listener is not added to downloadPeer. downloadPeer ends up with no downloadListener. Please not setDownloadPeer() does not fix this situation because it only sets the the downloadListener if downloadPeer has chaned.