bitcoinj/bitcoinj — pull request #44 by haraldh (2014-04-11 10:24:07+00:00)
Title: PeerGroup: getMostCommonChainHeight() don't trace empty peer group

s == 0 and freqHeights[s - 1] is an invalid array index then