Fix a case that could stall the acquire engine.

This commit is contained in:
JoelKatz
2012-12-30 23:39:41 -08:00
parent 55acebae4c
commit bafa5cb667

View File

@@ -224,6 +224,8 @@ void LedgerAcquire::trigger(Peer::ref peer, bool timer)
tmGL.set_itype(ripple::liBASE);
cLog(lsTRACE) << "Sending base request to " << (peer ? "selected peer" : "all peers");
sendRequest(tmGL, peer);
if (timer)
resetTimer();
return;
}