Prevent stuck download: correct solution
authorPieter Wuille <pieter.wuille@gmail.com>
Sat, 5 May 2012 02:04:38 +0000 (04:04 +0200)
committerLuke Dashjr <luke-jr+git@utopios.org>
Mon, 7 May 2012 02:45:08 +0000 (02:45 +0000)
commit2403bb79bc232ea3f9a78448d0fb4ffcf385d209
tree6837a2bd5bab98b998962bee2d1d8b80d7d7118d
parenteb3f661add15837434c286476a32e05f279a1919
Prevent stuck download: correct solution

Pull request #948 introduced a fix for nodes stuck on a long side branch
of the main chain. The fix was non-functional however, as the additional
getdata request was created in a first step of processing, but dropped
in a second step as it was considered redundant. This commits fixes it
by sending the request directly.
src/main.cpp