Shell: small bugfix preventing mempool cleanup.

This commit is contained in:
Benjamin Canou 2017-05-31 16:32:30 +02:00
parent c7c7ffbd0e
commit d351bb1608

View File

@ -559,7 +559,7 @@ module Operation_list = struct
let rec do_read net block acc i =
if i <= 0 then
Lwt.return []
Lwt.return acc
else
read_exn net (block, i-1) >>= fun ops ->
do_read net block (ops :: acc) (i-1)